OpenSensors Authentication API

To make request to our API you will need to an API key, which you can get from the "Get Api Key" section in app.opensensors.com. Then use auth/login api to get a refresh token and a token which has expiration time. Add the token to your Authorization header for each request made to our APIs. After the token expires you must get a new one using the refresh endpoint and supplying the refresh token.

Operations 2

GET https://auth.opensensors.com/auth/login Get https: auth opensensors com auth login #
POST https://auth.opensensors.com/auth/refresh Create https: auth opensensors com auth refresh #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/opensensors:opensensors-authentication-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

opensensors-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenSensors.com public Authentication API
  version: 1.0.0
  description: Documentatation for the Opensensors API. To authentiate and use our API please refer to the login and refresh endpoints
servers:
- url: https://api.opensensors.com/
tags:
- name: Authentication
  description: To make request to our API you will need to an API key, which you can get from the "Get Api Key" section in app.opensensors.com. Then use auth/login api to get a refresh token and a token which has expiration time. Add the token to your Authorization header for each request made to our APIs. After the token expires you must get a new one using the refresh endpoint and supplying the refresh token.
paths:
  https://auth.opensensors.com/auth/login:
    get:
      tags:
      - Authentication
      description: To make requests to the Opensensors api, you have to serve an API access token that you retrieve via this endpoint. API access tokens have a limited lifespan but can be refreshed for continued use. For any API requests below, populate the Authorization header with the token received.
      parameters:
      - in: header
        name: x-api-key
        description: You an get the key from app.opensensors.com under the get Api key section
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Object with jwtToken, refreshToken used to authenticate with the API, also comes with expiry time so you know when it has expired
          content:
            application/json:
              schema:
                type: object
                $ref: '#/components/schemas/Token'
      summary: 'Get https: auth opensensors com auth login'
      x-summary-source: derived
      operationId: getHttps:AuthOpensensorsComAuthLogin
      x-operation-id-source: derived
  https://auth.opensensors.com/auth/refresh:
    post:
      tags:
      - Authentication
      description: Use this end point to get a new access token.
      responses:
        '200':
          description: Object containing the new token which can be used to authenticate to our API
          content:
            application/json:
              schema:
                type: object
                $ref: '#/components/schemas/AccessToken'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshParams'
        description: The refresh token given from https://auth.opensensors.com/auth/login can be used to get a new token
        required: true
      summary: 'Create https: auth opensensors com auth refresh'
      x-summary-source: derived
      operationId: postHttps:AuthOpensensorsComAuthRefresh
      x-operation-id-source: derived
components:
  schemas:
    AccessToken:
      type: object
      properties:
        accessToken:
          type: string
    RefreshParams:
      type: object
      properties:
        refreshToken:
          type: string
    Token:
      type: object
      properties:
        jwtToken:
          type: string
        refreshToken:
          type: string
        expires:
          type: integer