ShieldLabs Management API

Profile and balance on api.shieldlabs.ai. Authenticated with Secret Key headers (`Authorization: Bearer` plus `X-Shield-Domain`). Its `GET /v1/history` path returns a PascalCase JSON array and is DEPRECATED with a Sunset of 2027-01-01 — use the History API instead. Legacy path authentication carries the same sunset date.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/profile Check my domain's request balance and keys · Get domain profile #
Ask an LLM
“How many ShieldLabs requests do I have left on my domain?”
“Can I see my domain's masked API keys without spending any requests?”
Tell an agent
Show my domain profile with the remaining request balance.
List the masked keys on my domain profile.
GET /v1/history/{type}/{value} Look up stored snapshots on the deprecated v1 endpoint · Search history by identifier (deprecated) #
Ask an LLM
“Is the old v1 history lookup on api.shieldlabs still working before its 2027 sunset?”
“What does the deprecated history search return for an identifier?”
Tell an agent
Using the deprecated v1 history endpoint, find snapshots where {type} is {value}.
Pull the latest {limit} snapshots for {type} {value} from the legacy v1 history search.

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/shieldlabs:shieldlabs-management-api-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

shieldlabs-management-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ShieldLabs Management API
  version: '1.2'
  description: 'The ShieldLabs API surfaces visitor identification, anonymity detection, and

    abuse and fraud prevention for your application.'
  contact:
    email: support@shieldlabs.ai
servers:
- url: https://account.shieldlabs.ai/api
  description: History API (Private API Key, recommended for snapshot reads)
- url: https://api.shieldlabs.ai
  description: Management API (Secret Key — profile and balance)
tags:
- name: Management API
  description: 'Profile and balance on api.shieldlabs.ai.

    Authenticated with Secret Key headers. GET /v1/history is deprecated; use History API.'
paths:
  /v1/profile:
    get:
      tags:
      - Management API
      summary: Get domain profile
      description: 'Returns the profile for a domain: remaining request balance and masked keys. Free (0 requests).'
      operationId: getProfileV1
      security:
      - SecretKeyHeader: []
      responses:
        '200':
          description: Domain profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Profile'
        '401':
          $ref: '#/components/responses/UnauthorizedEmpty'
  /v1/history/{type}/{value}:
    get:
      tags:
      - Management API
      summary: Search history by identifier (deprecated)
      deprecated: true
      description: 'Deprecated. Use `searchHistoryAccount` on account.shieldlabs.ai

        (`https://account.shieldlabs.ai/api/v1/history`). Sunset: 2027-01-01.

        Responses include `Deprecation`, `Sunset`, and `Link: rel="successor-version"`

        pointing at the History API. Still returns stored snapshots in a PascalCase

        JSON array, newest first. Does not consume request balance. Served on api.shieldlabs.ai.'
      operationId: searchHistoryV1
      security:
      - SecretKeyHeader: []
      parameters:
      - name: type
        in: path
        required: true
        schema:
          type: string
          enum:
          - ip
          - user_hid
          - visitor_id
          - request_id
          - device_id
          - session_id
          - cookie_id
      - name: value
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 100
      responses:
        '200':
          description: Matching snapshots, newest first
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Snapshot'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/UnauthorizedEmpty'
        '404':
          description: Unsupported identifier type
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  responses:
    BadRequest:
      description: Invalid parameters (bare JSON string on Management API)
    TooManyRequests:
      description: Per-IP rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServiceUnavailable:
      description: Gateway concurrency cap reached
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    UnauthorizedEmpty:
      description: Missing or invalid credentials, or the domain is disabled (empty body)
  schemas:
    Snapshot:
      type: object
      description: Deprecated Management History array element (PascalCase). Prefer History API snake_case rows.
      properties:
        RequestID:
          type: string
          format: uuid
        SessionID:
          type: string
          format: uuid
        CookieID:
          type: string
          format: uuid
        DeviceID:
          type: string
          format: uuid
        VisitorID:
          type: string
          format: uuid
        IP:
          type: string
        ConnectionType:
          type: string
          enum:
          - direct
          - mobile
          - vpn
          - proxy
          - tor
          - privacy_relay
          - browser_vpn_proxy
          - unknown
        WebRtcHIP:
          type: string
        OS:
          type: string
        Browser:
          type: string
        DeviceType:
          type: string
        Country:
          type: string
        UserHID:
          type: string
        Score:
          type: integer
        Details:
          type: array
          items:
            $ref: '#/components/schemas/ScoreDetail'
        LastRequestTime:
          type: string
          format: date-time
    ScoreDetail:
      type: object
      description: Signal row on Management API Snapshot.Details (PascalCase). Not used in webhooks.
      properties:
        Value:
          type: integer
        Description:
          type: string
    Error:
      type: object
      properties:
        error:
          type: string
          examples:
          - too many requests
          - invalid api key
    Profile:
      type: object
      properties:
        Domain:
          type: string
        Weight:
          type: integer
        PublicKey:
          type: string
        Secret:
          type: string
        CreatedAt:
          type: string
          format: date-time
  securitySchemes:
    PrivateApiKey:
      type: http
      scheme: bearer
      description: Private API Key from the dashboard API tab (`sec_…`).
    SecretKeyHeader:
      type: http
      scheme: bearer
      description: Secret Key plus `X-Shield-Domain` header with your registered domain.