TheirStack API Keys API

The API Keys API from TheirStack — 2 operation(s) for api keys.

GitHub OpenAPI

Operations 2

GET /v0/api-keys/usage List Api Keys #
GET /v0/api-keys/usage/member/{user_id} List One Member'S Api Keys Before Removing Them #

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/theirstack-com:theirstack-com-api-keys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

theirstack-com-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TheirStack API Reference API Keys API
  description: '# Introduction


    Welcome to the TheirStack API - the largest database of jobs and technographics. You can use this API to access all our API endpoints, such as the Jobs endpoint to get real-time and historical jobs from more than 100 countries, the Companies endpoint to get a list of companies by the technology they use or by the roles they are hiring for, or

    the Technographics endpoint to get a list of technologies used by a company. The API is organized around REST. All requests should be made over SSL. All request and response bodies, including errors, are encoded in JSON. A Swagger UI of these docs is also available at /openapi. ---


    # Authentication


    Authentication is done via the API key which you can find in your account settings. When making a call, you''ll have to specify this API key with the Authorization header. Here''s an example:


    ```sh

    Authorization: Bearer

    ```


    ---


    # Pagination


    Responses that return a list of items are paginated. We offer two different pagination strategies:


    - **Page-based**: This method allows you to navigate through paginated data by specifying the `page` and `limit` parameters. The `page` parameter indicates the page number you wish to retrieve, while the `limit` parameter specifies the maximum number of items to return per page. For POST requests, include these parameters in the request body. For GET requests, use them as query parameters. - **Offset-based**: This method allows you to navigate through paginated data by specifying the `offset` and `limit` parameters. The `offset` parameter indicates the starting point within the collection of results, while the `limit` parameter specifies the maximum number of items to return. For POST requests, include these parameters in the request body. For GET requests, use them as query parameters. Some of these endpoints also support the `include_total_results` body or query parameter. If you set it to `false`, the responses will be faster, and the field `total_results` of the response will be `null`. ---


    # Rate Limit


    All API endpoints are rate limited to ensure reliability and fair usage. When a limit is exceeded, the API returns **HTTP 429 Too Many Requests**. Limits are applied **per user** (or per API key) with sliding windows; multiple windows may apply simultaneously. ## Tiered endpoints and limits


    Endpoints covered by tier-based limits:


    * POST `/v1/jobs/search` (Jobs Search)

    * POST `/v1/companies/search` (Companies Search)

    * POST `/v1/companies/technologies` (Technographics)


    Shared limits across all three endpoints:


    | Tier | API limits |

    | ---- | ------------------------------------- |

    | Free | 4/second, 10/minute, 50/hour, 400/day |

    | Paid | 4/second |


    - **Paid tier** applies to users who have made at least one payment. - **Free tier** applies to all other users (users who have never paid or users without any payments done). Multiple limits are applied simultaneously. A request is rejected if it exceeds **any** active window. ## Rate limit headers


    The API returns rate limit information in every response. We follow the **IETF HTTPAPI draft** for RateLimit headers: RateLimit header fields for HTTP. When multiple rate limits apply, header items are comma-separated and ordered consistently across headers. ### IETF compliant headers


    - `RateLimit`: Current quota status per policy. Format: `""; r=; t=; pk=`. - `RateLimit-Policy`: Applied policy definition. Format: `""; q=; w=`. ### Other headers


    These are included for client convenience:


    - `RateLimit-Limit`: Total allowed requests for each window

    - `RateLimit-Remaining`: Requests remaining in each window

    - `RateLimit-Reset`: Seconds until the current window resets


    The order of values in legacy headers **matches the order of `RateLimit` items**.'
  version: 1.0.0
servers:
- url: https://api.theirstack.com
  description: Production
tags:
- name: API Keys
paths:
  /v0/api-keys/usage:
    get:
      tags:
      - API Keys
      summary: List Api Keys
      description: Every active key of the current team, with the calls it made over the usage window and whether the member who created it still belongs to the workspace. Key (token) strings are never returned.
      operationId: get_api_keys_usage_v0
      security:
      - Bearer: []
      parameters:
      - name: window_days
        in: query
        required: false
        schema:
          type: integer
          maximum: 90
          minimum: 1
          default: 7
          title: Window Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiKeyWithUsage'
                title: Response Get Api Keys Usage V0
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Payment Required
  /v0/api-keys/usage/member/{user_id}:
    get:
      tags:
      - API Keys
      summary: List One Member'S Api Keys Before Removing Them
      description: 'The active keys this member created for the current team, with the calls each made over the usage window. An empty list means removing them breaks no integration. Open to any member of the workspace, like the key list itself: it returns metadata the whole team can already see, and a member leaving on their own needs to read it too.'
      operationId: get_member_api_keys_usage_v0
      security:
      - Bearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      - name: window_days
        in: query
        required: false
        schema:
          type: integer
          maximum: 90
          minimum: 1
          default: 7
          title: Window Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberApiKeys'
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Payment Required
components:
  schemas:
    Error:
      properties:
        code:
          anyOf:
          - type: string
          - type: 'null'
          title: Code
          description: 'The error code. Eg: `E-001`, `E-002`, `E-003`, `E-004`, `E-005`, `E-006`, `E-007`, `E-008`, `E-009`, `E-010`, `E-011`, `E-012`, `E-013`, `E-014`, `E-015`, `E-016`'
          examples:
          - E-001
          - E-002
          - E-003
          - E-004
          - E-005
        title:
          type: string
          title: Title
          description: The error title.
          examples:
          - Not allowed exception
          - Invalid re2 expression exception
          - Invalid country code exception
          - Connection reset by peer exception
          - Too many requests exception
          - Internal server error
          - Validation error
          - Timeout error
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
          description: The error description
      type: object
      required:
      - title
      title: Error
    ErrorResponse:
      properties:
        request_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Request Id
          description: The request id. This is useful to contact us to help you debug the issue. The request_id won't be present in all errors.
          examples:
          - null
        error:
          $ref: '#/components/schemas/Error'
      type: object
      required:
      - error
      title: ErrorResponse
    MemberApiKeys:
      properties:
        user_id:
          type: integer
          title: User Id
        window_days:
          type: integer
          title: Window Days
        keys:
          items:
            $ref: '#/components/schemas/ApiKeyWithUsage'
          type: array
          title: Keys
      type: object
      required:
      - user_id
      - window_days
      - keys
      title: MemberApiKeys
      description: 'Every key one member created for a team, for the removal decision.


        An empty `keys` list is the common case and the one that matters most: it is

        what lets the caller leave the removal flow exactly as it was for the vast

        majority of removals, which have no integration behind them at all.'
    DailyCallCount:
      properties:
        day:
          type: string
          format: date
          title: Day
        calls:
          type: integer
          title: Calls
      type: object
      required:
      - day
      - calls
      title: DailyCallCount
      description: Calls made on one day, for the sparkline behind a key's recent usage.
    ApiKeyWithUsage:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        created_by:
          type: integer
          title: Created By
        created_by_email:
          type: string
          title: Created By Email
        created_at:
          type: string
          format: date-time
          title: Created At
        last_used_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Used At
          description: Last request made with this key, ever. Read from the key row, not from the request events, so it stays true for a key last used before event collection began.
        calls_in_window:
          type: integer
          title: Calls In Window
          description: Requests made with this key inside the usage window.
        daily_calls:
          items:
            $ref: '#/components/schemas/DailyCallCount'
          type: array
          title: Daily Calls
          description: One point per day of the window, oldest first, quiet days included as zeros so the series can be charted as-is.
        created_by_is_active_member:
          type: boolean
          title: Created By Is Active Member
          description: False once the creator has been removed from the workspace. Such a key keeps working, and whoever left may still know its value, so the UI asks the team to replace it.
      type: object
      required:
      - id
      - name
      - created_by
      - created_by_email
      - created_at
      - calls_in_window
      - daily_calls
      - created_by_is_active_member
      title: ApiKeyWithUsage
      description: One API key, with enough context to decide whether to revoke it.
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer