XeoRank API Keys API

The api-keys API from XeoRank — 7 operation(s) for api-keys.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

GET /users/me/assistant-status Get Assistant Status #
GET /users/me/api-keys List Keys #
POST /users/me/api-keys Create Key #
DELETE /users/me/api-keys/{key_id} Revoke Key #
GET /users/me/plan Get Plan #
GET /users/me/usage Get Usage #
POST /users/me/usage/consume Consume Usage #
GET /api-keys/validate Validate Key #

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/xeorank-com:xeorank-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

xeorank-com-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SEO Intelligence Engine API Keys API
  version: 0.1.0
tags:
- name: API Keys
paths:
  /users/me/assistant-status:
    get:
      tags:
      - API Keys
      summary: Get Assistant Status
      description: Report whether this account has an active MCP assistant authorization.
      operationId: get_assistant_status_users_me_assistant_status_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: true
        schema:
          type: string
          title: Email
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssistantStatusOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /users/me/api-keys:
    get:
      tags:
      - API Keys
      summary: List Keys
      description: 'List the caller''s API keys, newest first.


        ``limit`` was sent by the MCP tool and ignored here, so every call returned

        the account''s entire key history — 59 rows on a developer account that has

        been minting short-lived keys.'
      operationId: list_keys_users_me_api_keys_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: true
        schema:
          type: string
          title: Email
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 500
            minimum: 1
          - type: 'null'
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiKeyOut'
                title: Response List Keys Users Me Api Keys Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - API Keys
      summary: Create Key
      operationId: create_key_users_me_api_keys_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: true
        schema:
          type: string
          title: Email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateKeyRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyCreated'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /users/me/api-keys/{key_id}:
    delete:
      tags:
      - API Keys
      summary: Revoke Key
      operationId: revoke_key_users_me_api_keys__key_id__delete
      security:
      - APIKeyHeader: []
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Key Id
      - name: email
        in: query
        required: true
        schema:
          type: string
          title: Email
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /users/me/plan:
    get:
      tags:
      - API Keys
      summary: Get Plan
      description: 'Return the effective plan + caps for the user''s **active org**.


        The plan is the org''s (its owner''s) — pass ``org_id`` for the active org, else the

        caller''s default org. This picks up the internal-domain agency override + org

        membership, so a member of an agency org gets the agency plan.


        Auth: personal API key → user from key; or shared AGENT_API_KEY + ?email=.'
      operationId: get_plan_users_me_plan_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      - name: org_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Plan Users Me Plan Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /users/me/usage:
    get:
      tags:
      - API Keys
      summary: Get Usage
      description: Return current-period usage per metric (used vs cap).
      operationId: get_usage_users_me_usage_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      - name: org_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Usage Users Me Usage Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /users/me/usage/consume:
    post:
      tags:
      - API Keys
      summary: Consume Usage
      description: Atomically reserve one legacy AI-visibility scan for the active org.
      operationId: consume_usage_users_me_usage_consume_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      - name: org_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsumeUsageRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Consume Usage Users Me Usage Consume Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api-keys/validate:
    get:
      tags:
      - API Keys
      summary: Validate Key
      description: 'Validate an API key and return the associated user identity.


        Used by the MCP server to authenticate incoming requests that carry

        a user''s personal API key in the Authorization header.'
      operationId: validate_key_api_keys_validate_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: api_key
        in: query
        required: true
        schema:
          type: string
          description: The raw API key to validate (xyle_...)
          title: Api Key
        description: The raw API key to validate (xyle_...)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ApiKeyOut:
      properties:
        id:
          type: string
          title: Id
        key_prefix:
          type: string
          title: Key Prefix
        name:
          type: string
          title: Name
        created_at:
          type: string
          title: Created At
        last_used_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Used At
        revoked:
          type: boolean
          title: Revoked
      type: object
      required:
      - id
      - key_prefix
      - name
      - created_at
      - last_used_at
      - revoked
      title: ApiKeyOut
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CreateKeyRequest:
      properties:
        name:
          type: string
          title: Name
          default: default
      type: object
      title: CreateKeyRequest
    ApiKeyCreated:
      properties:
        id:
          type: string
          title: Id
        key_prefix:
          type: string
          title: Key Prefix
        name:
          type: string
          title: Name
        raw_key:
          type: string
          title: Raw Key
      type: object
      required:
      - id
      - key_prefix
      - name
      - raw_key
      title: ApiKeyCreated
    ConsumeUsageRequest:
      properties:
        metric:
          type: string
          enum:
          - ai_visibility.free.monthly
          - ai_visibility.deep.monthly
          - ai_visibility.full.monthly
          title: Metric
      type: object
      required:
      - metric
      title: ConsumeUsageRequest
    ValidateResponse:
      properties:
        user_id:
          type: string
          title: User Id
        email:
          type: string
          title: Email
        valid:
          type: boolean
          title: Valid
      type: object
      required:
      - user_id
      - email
      - valid
      title: ValidateResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AssistantStatusOut:
      properties:
        account_id:
          type: string
          title: Account Id
        connected:
          type: boolean
          title: Connected
      type: object
      required:
      - account_id
      - connected
      title: AssistantStatusOut
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Agent-Key