DescriptorAPI Reference API

Merchants, categories and your usage.

GitHub OpenAPI

Operations 3

GET /v1/merchants/{id} Get a merchant #
GET /v1/categories List the category taxonomy #
GET /v1/usage Usage for the current billing period #

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/descriptorapi-com:descriptorapi-com-reference-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

descriptorapi-com-reference-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Descriptorapi Com Reference API
  version: 1.0.0
  contact:
    url: https://descriptorapi.com/contact
  license:
    name: Proprietary
    url: https://descriptorapi.com/terms
  description: 'Operations tagged Reference across 2 of this provider''s published API definitions: descriptorapi-com-openapi.yml, descriptorapi-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.descriptorapi.com
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: Reference
  description: Merchants, categories and your usage.
paths:
  /v1/merchants/{id}:
    get:
      tags:
      - Reference
      operationId: getMerchant
      summary: Get a merchant
      parameters:
      - name: id
        in: path
        required: true
        description: Merchant ID from an enrichment result, e.g. `mer_01J...`.
        schema:
          type: string
          pattern: ^mer_[0-9A-Z]{26}$
      - name: country
        in: query
        required: false
        description: ISO 3166-1 alpha-2. Answers with the legal name and website of the brand's company in that country, when we know it; otherwise the brand's own.
        schema:
          type: string
          pattern: ^[A-Za-z]{2}$
      responses:
        '200':
          description: The merchant record.
          content:
            application/json:
              schema:
                type: object
                required:
                - request_id
                - id
                - name
                - slug
                - category
                - verified
                properties:
                  request_id:
                    $ref: '#/components/schemas/RequestID'
                  id:
                    type: string
                    examples:
                    - mer_01JABCDEF0123456789ABCDEFG
                  name:
                    type: string
                  slug:
                    type: string
                  legal_name:
                    type:
                    - string
                    - 'null'
                  website:
                    type:
                    - string
                    - 'null'
                    format: uri
                  logo_url:
                    type:
                    - string
                    - 'null'
                    format: uri
                  category:
                    type: string
                  subcategory:
                    type:
                    - string
                    - 'null'
                  mcc:
                    type:
                    - string
                    - 'null'
                  country:
                    type:
                    - string
                    - 'null'
                    description: Home market, ISO 3166-1 alpha-2.
                  verified:
                    type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://api.descriptorapi.com
  /v1/categories:
    get:
      tags:
      - Reference
      operationId: listCategories
      summary: List the category taxonomy
      responses:
        '200':
          description: Top-level categories with their subcategories.
          content:
            application/json:
              schema:
                type: object
                required:
                - request_id
                - categories
                properties:
                  request_id:
                    $ref: '#/components/schemas/RequestID'
                  categories:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - name
                      - subcategories
                      properties:
                        id:
                          type: string
                          examples:
                          - transportation
                        name:
                          type: string
                          examples:
                          - Transportation
                        subcategories:
                          type: array
                          items:
                            type: object
                            required:
                            - id
                            - name
                            properties:
                              id:
                                type: string
                                examples:
                                - ride_hailing
                              name:
                                type: string
                                examples:
                                - Ride hailing
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://api.descriptorapi.com
  /v1/usage:
    get:
      tags:
      - Reference
      operationId: getUsage
      summary: Usage for the current billing period
      description: 'Billing periods are UTC calendar months. Every enrichment that returns a merchant counts as

        one billable unit, whether it came from the cache or the AI; results with `merchant: null`

        are free. `usage` is current to the request; `daily` can lag by a few seconds.'
      responses:
        '200':
          description: The caller's plan and usage.
          content:
            application/json:
              schema:
                type: object
                required:
                - request_id
                - period
                - plan
                - usage
                - daily
                properties:
                  request_id:
                    $ref: '#/components/schemas/RequestID'
                  period:
                    type: object
                    required:
                    - start
                    - end
                    properties:
                      start:
                        type: string
                        format: date
                      end:
                        type: string
                        format: date
                  plan:
                    type: object
                    required:
                    - id
                    - name
                    - monthly_quota
                    - requests_per_second
                    properties:
                      id:
                        type: string
                        examples:
                        - free
                      name:
                        type: string
                        examples:
                        - Free
                      monthly_quota:
                        type:
                        - integer
                        - 'null'
                        description: Null for custom (unlimited) plans.
                      requests_per_second:
                        type: number
                  usage:
                    type: object
                    required:
                    - billable
                    - remaining
                    properties:
                      billable:
                        type: integer
                      remaining:
                        type:
                        - integer
                        - 'null'
                  daily:
                    type: array
                    items:
                      type: object
                      required:
                      - date
                      - requests
                      - billable
                      - cache_hits
                      - ai_calls
                      properties:
                        date:
                          type: string
                          format: date
                        requests:
                          type: integer
                        billable:
                          type: integer
                        cache_hits:
                          type: integer
                        ai_calls:
                          type: integer
              example:
                request_id: req_01JABCDEF0123456789ABCDEFG
                period:
                  start: '2026-10-01'
                  end: '2026-10-31'
                plan:
                  id: free
                  name: Free
                  monthly_quota: 500
                  requests_per_second: 2
                usage:
                  billable: 120
                  remaining: 380
                daily:
                - date: '2026-10-12'
                  requests: 150
                  billable: 120
                  cache_hits: 90
                  ai_calls: 4
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://api.descriptorapi.com
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - request_id
          properties:
            code:
              $ref: '#/components/schemas/ErrorCode'
            message:
              type: string
            request_id:
              $ref: '#/components/schemas/RequestID'
    RequestID:
      type: string
      description: Unique ID of this request.
      examples:
      - req_01JABCDEF0123456789ABCDEFG
    ErrorCode:
      type: string
      enum:
      - invalid_request
      - unauthorized
      - not_found
      - quota_exceeded
      - rate_limited
      - internal_error
  responses:
    Unauthorized:
      description: Missing, invalid or revoked API key, or a suspended account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: The resource does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests per second. Retry after the number of seconds in `Retry-After`.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: '`Authorization: Bearer dk_live_...`'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
x-refined-from:
- descriptorapi-com-openapi.yml
- descriptorapi-com-openapi.yml