Precleared Agent API

The Agent API from Precleared — 1 operation(s) for agent.

GitHub OpenAPI

Operations 1

POST /api/v1/agent/keys Buy a key with checks (agent payment) #

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/precleared-dev:precleared-dev-agent-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

precleared-dev-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Precleared Agent API
  version: 1.0.0
  description: 'Per-address verdicts on cold marketing email, with the rule quoted and a signed receipt. Covers the UK, US, Canada, Germany, France, Australia, Ireland, the Netherlands, Spain, Italy, Latvia, the United Arab Emirates, Egypt and Qatar: UK PECR and GDPR, US CAN-SPAM, Canadian CASL, German UWG, French CPCE, Australia''s Spam Act, Ireland''s ePrivacy Regulations, the Dutch Telecommunicatiewet, Spain''s LSSI, Italy''s Privacy Code, Latvia''s Information Society Services Law, the UAE''s PDPL, Egypt''s Personal Data Protection Law and Qatar''s Personal Data Privacy Protection Law. Decision support with sources, not legal advice. Packs: £9 for 300 checks (a key''s first purchase) or £39 for 2,000 checks. Auto top-up always buys the £39 pack. Every new key, including HubSpot portals, gets 14 days at 100 checks a day, starting with the first check. Monthly plan: £15 for 100 checks a day. Unused daily checks do not roll over. Packs are used after the largest eligible free, trial or active/past_due plan allowance, never below the channel minimum. Cancel at /manage; the plan runs to the paid period end.'
servers:
- url: https://precleared.dev
tags:
- name: Agent
paths:
  /api/v1/agent/keys:
    post:
      summary: Buy a key with checks (agent payment)
      description: 'For agents with a Stripe-compatible wallet (Machine Payments Protocol). Without a Payment credential the reply is HTTP 402 with a WWW-Authenticate: Payment challenge (method stripe, intent charge, amount 900 for starter or 3900 for standard, currency gbp) and Cache-Control: no-store; nothing is created. Retry the same POST with Authorization: Payment : the key is made as POST /api/v1/keys makes it, the pack''s checks are added, and the 201 reply returns the key once with a Payment-Receipt header. Key limits (3 per email, 5 new keys per network in a rolling 24 hours) are checked before any charge. Retrying with the same credential never makes a second key or charges again. Follows the agent payments switch.'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - email
              properties:
                pack:
                  type: string
                  enum:
                  - starter
                  - standard
                  default: starter
                  description: 'starter: £9 for 300 checks. standard: £39 for 2,000 checks.'
                email:
                  type: string
                  format: email
                  maxLength: 254
                name:
                  type: string
                  maxLength: 120
                use_case:
                  type: string
                  maxLength: 1000
      responses:
        '200':
          description: 'already_created: this credential already bought a key. Returns key_prefix and credits; the key itself is not shown again and nothing new is charged.'
        '201':
          description: Paid. New key with the pack's checks, shown once. Payment-Receipt header attached.
          content:
            application/json:
              schema:
                type: object
                required:
                - key
                - key_prefix
                - credits
                - pack
                properties:
                  key:
                    type: string
                  key_prefix:
                    type: string
                  credits:
                    type: integer
                  pack:
                    type: string
                    enum:
                    - starter
                    - standard
                  payment_intent:
                    type: string
                  message:
                    type: string
        '400':
          description: Invalid JSON, email or pack.
        '402':
          description: 'payment_required with a WWW-Authenticate: Payment challenge. Body: error, protocol, pack {id, price_gbp, checks}, human_checkout_url (the /get-key page) and message.'
        '409':
          description: agent_payments_disabled with human_checkout_url, or purchase_in_progress.
        '429':
          description: 'too_many_keys: email or network creation limit reached. Checked before any charge.'
        '500':
          description: The key could not be made after payment; the reply says whether the payment was refunded.
      tags:
      - Agent
      operationId: postApiV1AgentKeys
      x-operation-id-source: derived
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Optional API key, pc_live_...