Agnic X402 API

Agnic X402 API as documented publicly: 3 operations. Contract generated from the documentation by API Evangelist (2026-11-01); not the provider's own document.

Operations 3

POST /api/sign-payment POST /api/sign-payment #
POST /endpoint POST /endpoint #
GET /paid-endpoint GET /paid-endpoint #

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/agnic-ai:x402-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

agnic-ai-x402-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Agnic X402 API
  version: '2026-11-01'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-01: 3 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Agnic has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 7
    documentation: 23
    pages-with-code: 10
    pages-read: 14
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-01'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.agnic.ai/docs/x402/sign-payment
  x-docs-section: x402
servers:
- url: https://api.agnic.ai
paths:
  /api/sign-payment:
    post:
      operationId: post_api_sign_payment
      tags:
      - Api
      summary: POST /api/sign-payment
      x-source: https://docs.agnic.ai/docs/x402/sign-payment
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiSignPaymentResponse'
      x-evidence:
        kind: code-example
        language: python
        snippet: "requests.post( \n \"https://api.agnic.ai/api/sign-payment\" , \n headers = { \n \"X-Agnic-Token\" : \"agnic_tok_YOUR_TOKEN\"\
          \ , \n \"Content-Type\" : \"application/json\" \n }, \n json = { \n \"paymentRequirements\" : payment_requirements, \n \"requestData\"\
          \ : { \n \"url\" : \"https://api.example.com/paid-endpoint\" , \n \"method\" : \"GET\" \n } \n } \n )"
  /endpoint:
    post:
      operationId: post_endpoint
      tags:
      - Endpoint
      summary: POST /endpoint
      x-source: https://docs.agnic.ai/docs/x402/sign-payment
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostEndpointRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostEndpointResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.example.com/endpoint  -H \"X-PAYMENT: eyJ2ZXJzaW9uIjoxLCJwYXltZW50Ijp7...\"  -H \"Content-Type: application/json\"\
          \  -d '{\"your\": \"data\"}' \n Complete Flow Example \n Step 1: Make Initial Request \n import requests "
  /paid-endpoint:
    get:
      operationId: get_paid_endpoint
      tags:
      - Paid Endpoint
      summary: GET /paid-endpoint
      x-source: https://docs.agnic.ai/docs/x402/sign-payment
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPaidEndpointResponse'
      x-evidence:
        kind: code-example
        language: python
        snippet: requests.get( "https://api.example.com/paid-endpoint" )
security:
- bearer: []
components:
  schemas:
    PostApiSignPaymentResponse:
      type: object
      properties:
        X-Agnic-Token:
          type: string
        Content-Type:
          type: string
    PostEndpointRequest:
      type: object
      properties:
        your:
          type: string
    PostEndpointResponse:
      type: object
      properties:
        X-Agnic-Token:
          type: string
        Content-Type:
          type: string
    GetPaidEndpointResponse:
      type: object
      properties:
        X-Agnic-Token:
          type: string
        Content-Type:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
tags:
- name: Api
- name: Endpoint
- name: Paid Endpoint