AsterPay Utility API

The utility API from AsterPay — 1 operation(s) for utility.

Operations 1

POST /v1/util/qr-code QR Code — free #

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/asterpay-io:asterpay-io-utility-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

asterpay-io-utility-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Asterpay Io Utility API
  version: 3.1.0
  contact:
    name: AsterPay
    url: https://asterpay.io
    email: petteri@asterpay.io
  x-guidance: 'AsterPay is an API for AI agents: Know Your Agent trust scoring, crypto market data, AI text tools, and USDC to EUR settlement (SEPA Instant).


    HOW TO PAY: call any endpoint; an unpaid call returns 402 with an `accepts` array. Pay in USDC on any listed chain (Base, Ethereum, Polygon, Arbitrum, Optimism, SKALE) via x402 (resend with a PAYMENT-SIGNATURE header, SDK @x402/fetch) or MPP (Authorization: Payment, SDK mppx). No API key, no signup.

    FIRST CALL FREE: a wallet that has never paid AsterPay gets its first sub-$0.03 paid call for $0. Send a normally signed payment; it is verified but never settled. Your wallet must still hold the price so your client will sign.


    FREE (no payment): GET /v1/agent/discovery (full catalog), GET /v2/x402/market/rates, POST /v1/ai/fact-check (claim vs supplied source text).


    FREE DAILY QUOTA, then $0.0075 (25 unpaid calls per IP per UTC day; response headers X-Free-Quota-Limit / X-Free-Quota-Remaining):

    - GET /v1/agent/trust-score/{address}: agent trust score 0-100 with breakdown

    - GET /v1/agent/verify/{address}: ERC-8004 identity check

    - GET /v1/agent/tier/{address}: trust tier

    - GET /v1/settlement/estimate?amount={usdc} and GET /v2/x402/offramp/estimate?amount={usdc}: EUR settlement quote


    PAID:

    - GET /v1/agent/deep-analysis/{address} $0.015: behavioral analysis of an agent wallet; POST /v1/agent/trust-score/batch $0.03

    - GET /v1/crypto/token-analysis/{address} $0.15, GET /v1/crypto/wallet-score/{address} $0.075, GET /v1/crypto/whale-alerts $0.03

    - GET /v1/market/price/{symbol} $0.0075, GET /v1/market/ohlcv/{symbol} $0.015, GET /v1/market/trending $0.0075, GET /v2/x402/crypto/prices $0.0075

    - POST /v1/ai/summarize $0.006, POST /v1/ai/sentiment $0.006, POST /v1/ai/translate $0.03, POST /v1/ai/code-review $0.075

    - GET /v2/x402/agent-readiness?url={site} $0.03: agent-readiness scan of any website


    - DATA DOORS (GET /v1/data, free catalog): EU merchant verification GET /v1/data/company/verify/{vatId} $0.05 (VIES + register + LEI, one verdict), company profile $0.015 and change signals $0.03, EU tenders GET /v1/data/tenders/eu/{country}/{cpv} $0.02, plus FX, energy, macro, stablecoins, security and risk feeds from $0.0015.

    WATCHLIST LOOP: tenders and company/signals take ?since=YYYY-MM-DD and return next_since. Poll once a day with the previous next_since and you pay only for new notices or events (e.g. 100 country/CPV keys = $2/day). Recipe: https://x402.asterpay.io/llms.txt#watchlist


    WHEN TO CALL: run company/verify before paying an EU merchant and trust-score before paying an unknown agent; use settlement/estimate to price USDC to EUR before an off-ramp; use market and AI endpoints as pay-per-call utilities.

    Full reference: https://x402.asterpay.io/llms.txt'
  description: 'Operations tagged utility across 2 of this provider''s published API definitions: asterpay_io_openapi.json, asterpay-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://x402.asterpay.io
tags:
- name: Utility
paths:
  /v1/util/qr-code:
    post:
      operationId: generateQrCode
      summary: QR Code — free
      description: Render any string as a QR code. Returns a data URL. Free tier (no payment required).
      tags:
      - Utility
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: string
                  description: String to encode
                size:
                  type: integer
                  description: Pixel width/height
                  default: 200
              required:
              - data
      responses:
        '200':
          description: QR code
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      qrCode:
                        type: string
                        description: Base64 data URL of the PNG
                      data:
                        type: string
                      size:
                        type: integer
                    required:
                    - qrCode
                    - data
                    - size
                  timestamp:
                    type: string
                required:
                - success
                - data
      security: []
    servers:
    - url: https://x402.asterpay.io
components:
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: 'x402 (Coinbase CDP) payment. NOT an API key — no credential is issued or registered, and there is nothing to sign up for. On the first request the server returns 402 with a Payment-Required challenge; resend with a PAYMENT-SIGNATURE header carrying the signed USDC (Base) payment payload. SDK: npm i @x402/fetch.'
      x-payment:
        apiKeyRequired: false
        credential: per-request wallet signature
        protocol: x402
    mpp:
      type: http
      scheme: Payment
      description: 'MPP (Machine Payments Protocol) payment. NOT an API key — no credential is issued or registered. On 402 the server returns WWW-Authenticate: Payment; resend with Authorization: Payment <proof> carrying the USDC (Base) transaction proof. SDK: npm i mppx.'
      x-payment:
        protocol: mpp
        apiKeyRequired: false
        credential: per-request on-chain payment proof
x-refined-from:
- asterpay_io_openapi.json
- asterpay-io-openapi.json
x-service-info:
  categories:
  - finance
  - ai
  - data
  - crypto
  - compliance
  docs:
    homepage: https://asterpay.io
    apiReference: https://x402.asterpay.io/docs
    llms: https://x402.asterpay.io/llms.txt
x-discovery:
  ownershipProofs:
  - https://x402.asterpay.io/.well-known/mpp-methods.json
x-payment:
  mode: paid
  protocols:
  - x402
  - mpp
  apiKeyRequired: false
  registrationRequired: false
  currency: USDC
  networks:
  - base
  - ethereum
  - polygon
  - arbitrum
  - optimism
  - skale-base
  note: No API key exists, none is issued, and no account is needed — each paid call carries its own wallet signature or on-chain proof. The x402 scheme is typed apiKey only to declare its custom PAYMENT-SIGNATURE header, which is the header the server actually reads; OpenAPI has no payment type.