x402 Web API

The web API from x402 — 9 operation(s) for web.

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 9

POST /v1/web/tables Turn every table on a page into JSON rows you can compute on. #
POST /v1/web/jsonld Read the structured data a page declares about itself: products, articles… #
POST /v1/web/contacts Collect the emails, phone numbers and social profiles a page visibly publishes. #
POST /v1/web/prices Find the current prices shown on a product or listing page, with currency and… #
POST /v1/web/changed Tell whether a page changed since the last time you read it. #
POST /v1/web/headings The document outline of a page: every heading with its level and anchor, in… #
POST /v1/web/forms Every form on a page with its action, method and fields (name, type, label… #
POST /v1/web/images Every image on a page with its resolved URL, alt text and dimensions, plus the… #
POST /v1/web/navigation The navigation structure of a site as seen on a page: header, footer and nav… #

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/x-402-online:x-402-online-web-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

x-402-online-web-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: x402-farm — pay-per-call data & security tools for AI…
  version: 1.0.0
  description: Pay-per-call APIs for AI agents — x402 protocol, USDC on Base, no account needed.
  x-nexora:
    what: One task, one payment, several capabilities, a verified result. Send an objective and a budget; the service picks the capabilities, runs them in order, checks the result and returns it with the evidence.
    when: 'When you want an answer rather than a raw API response: read a page and answer a question about it, search recent news and read a source, or just search. Not when you only need a single primitive you already know how to call.'
    returns: An answer, the sources it came from, the extracts that back it, the list of checks that were run, the real cost and the latency. If the source is blocked or the model cannot answer from it, you get an explicit failure and no answer, never an invented one.
    cost: 0.012800 USDC per task, fixed, whatever the number of internal steps. POST /v1/agent/quote is free and returns the plan, the price and the limits before you pay anything.
    payment: 'x402: call it, get HTTP 402 with the payment requirements, sign, retry. USDC on Base or Solana. No account, no API key.'
    slogan: ONE TASK -> ONE PAYMENT -> MULTIPLE CAPABILITIES -> VERIFIED RESULT
    workflow: DISCOVER -> QUOTE -> PAY -> EXECUTE -> VERIFY -> RESULT
    start_here:
    - 'POST /v1/agent/task — la capacité principale : un objectif, un paiement, un résultat vérifié'
    - 'POST /v1/agent/quote — gratuit : le plan, le prix et les limites AVANT de payer'
    - 'GET /v1/agent/capabilities — gratuit : ce qui est réellement disponible, et ce qui est dégradé'
  x-guidance: 'Each route is a named job at a fixed USDC price (see per-operation x-payment-info). Unpaid requests return HTTP 402 with x402 payment instructions. Highest-value jobs: GET /v1/crypto/security (honeypot / rug-pull verdict OK/CAUTION/HIGH_RISK/AVOID before trading, 8 chains), POST /v1/extract (residential-IP web scraping — reaches sites blocking datacenter/cloud IPs, returns clean markdown), GET /v1/fr/kyb (company KYB / SIREN), GET /v1/crypto/token (live token price & liquidity), and GET /v1/proxy/1gb|5gb|20gb (buy a RESIDENTIAL PROXY by the GB — route your HTTP/HTTPS traffic through a real residential IP that datacenter proxies can''t match; returns a ready-to-use proxy key, from $2/GB, cheaper than Browserbase/Bright Data). Pay per call, no subscription, no API key.'
  contact:
    email: laurenthalbrun@gmail.com
servers:
- url: https://x-402.online
tags:
- name: Web
paths:
  /v1/web/tables:
    post:
      operationId: postWebTables
      tags:
      - Web
      summary: Turn every table on a page into JSON rows you can compute on.
      security: []
      description: 'Turn every table on a page into JSON rows you can compute on. Every HTML table on a page as JSON rows, with headers detected and captions kept. Fetched through a French residential IP with a real Chromium, so tables rendered by JavaScript are included. No model in the path. Body: {url}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://en.wikipedia.org/wiki/List_of_countries_by_population
              required:
              - url
            example:
              url: https://en.wikipedia.org/wiki/List_of_countries_by_population
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  table_count:
                    type: integer
                  tables:
                    type: array
                    items:
                      type: object
                      properties:
                        index:
                          type: integer
                        headers:
                          type: array
                          items:
                            type: string
                        row_count:
                          type: integer
                        rows:
                          type: array
                          items:
                            type: object
                            properties:
                              Country:
                                type: string
                              Population:
                                type: string
              example:
                url: …
                table_count: 3
                tables:
                - index: 0
                  headers:
                  - Country
                  - Population
                  row_count: 240
                  rows:
                  - Country: …
                    Population: …
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/web/jsonld:
    post:
      operationId: postWebJsonld
      tags:
      - Web
      summary: 'Read the structured data a page declares about itself: products, articles…'
      security: []
      description: 'Read the structured data a page declares about itself: products, articles, events, organizations. The structured data a page declares about itself: every JSON-LD block parsed, the schema.org types found, and the Open Graph tags. Fetched through a residential IP with a real browser. No model in the path. Body: {url}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com
              required:
              - url
            example:
              url: https://example.com
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonld_count:
                    type: integer
                  types:
                    type: array
                    items:
                      type: string
                  jsonld:
                    type: array
                    items:
                      type: object
                      properties:
                        '@type':
                          type: string
                        name:
                          type: string
                  open_graph:
                    type: object
                    properties:
                      og:title:
                        type: string
              example:
                jsonld_count: 1
                types:
                - Product
                jsonld:
                - '@type': Product
                  name: …
                open_graph:
                  og:title: …
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/web/contacts:
    post:
      operationId: postWebContacts
      tags:
      - Web
      summary: Collect the emails, phone numbers and social profiles a page visibly publishes.
      security: []
      description: 'Collect the emails, phone numbers and social profiles a page visibly publishes. Emails, phone numbers and social profile links visibly published on a page, read from the rendered DOM and mailto: and tel: links. Nothing is inferred, enriched or cross-referenced: only what the page itself shows. Body: {url}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com/contact
              required:
              - url
            example:
              url: https://example.com/contact
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  emails:
                    type: array
                    items:
                      type: string
                  phones:
                    type: array
                    items:
                      type: string
                  social:
                    type: array
                    items:
                      type: string
                      format: uri
              example:
                emails:
                - …
                phones:
                - …
                social:
                - https://www.linkedin.com/company/…
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/web/prices:
    post:
      operationId: postWebPrices
      tags:
      - Web
      summary: Find the current prices shown on a product or listing page, with currency and…
      security: []
      description: 'Find the current prices shown on a product or listing page, with currency and context. Every monetary amount found on a page with its currency and surrounding context, plus the schema.org Offer price when the page declares one. Works on any product page, not only marketplaces. Fetched through a residential IP with a real browser. No model. Body: {url}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com/product
              required:
              - url
            example:
              url: https://example.com/product
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  structured_offer:
                    type: object
                    properties:
                      price:
                        type: number
                      currency:
                        type: string
                  price_count:
                    type: integer
                  prices:
                    type: array
                    items:
                      type: object
                      properties:
                        value:
                          type: number
                        currency:
                          type: string
                        context:
                          type: string
              example:
                structured_offer:
                  price: 19.99
                  currency: EUR
                price_count: 4
                prices:
                - value: 19.99
                  currency: €
                  context: …
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/web/changed:
    post:
      operationId: postWebChanged
      tags:
      - Web
      summary: Tell whether a page changed since the last time you read it.
      security: []
      description: 'Tell whether a page changed since the last time you read it. Has a page changed since you last read it? Send a URL and the content_sha256 you kept from a previous call; get back changed: true or false, the current checksum and the current length. Without a checksum, returns the starting point. Main content only, navigation stripped. Body: {url, since_sha256?}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com
                since_sha256:
                  type: string
                  example: …
              required:
              - url
            example:
              url: https://example.com
              since_sha256: …
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  changed:
                    type: boolean
                  content_sha256:
                    type: string
                  content_chars:
                    type: integer
                  checked_at:
                    type: string
              example:
                changed: false
                content_sha256: …
                content_chars: 167
                checked_at: …
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/web/headings:
    post:
      operationId: postWebHeadings
      tags:
      - Web
      summary: 'The document outline of a page: every heading with its level and anchor, in…'
      security: []
      description: 'The document outline of a page: every heading with its level and anchor, in order. Body: {url}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com
              required:
              - url
            example:
              url: https://example.com
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  heading_count:
                    type: integer
                  outline:
                    type: array
                    items:
                      type: object
                      properties:
                        level:
                          type: integer
                        text:
                          type: string
              example:
                heading_count: 12
                outline:
                - level: 1
                  text: …
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/web/forms:
    post:
      operationId: postWebForms
      tags:
      - Web
      summary: Every form on a page with its action, method and fields (name, type, label…
      security: []
      description: 'Every form on a page with its action, method and fields (name, type, label, required, options), so an agent knows what a page asks for before interacting. Read only: nothing is submitted. Body: {url}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com/contact
              required:
              - url
            example:
              url: https://example.com/contact
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  form_count:
                    type: integer
                  forms:
                    type: array
                    items:
                      type: object
                      properties:
                        action:
                          type: string
                        fields:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              type:
                                type: string
                              required:
                                type: boolean
              example:
                form_count: 1
                forms:
                - action: …
                  fields:
                  - name: email
                    type: email
                    required: true
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/web/images:
    post:
      operationId: postWebImages
      tags:
      - Web
      summary: Every image on a page with its resolved URL, alt text and dimensions, plus the…
      security: []
      description: 'Every image on a page with its resolved URL, alt text and dimensions, plus the social preview image. Body: {url}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com
              required:
              - url
            example:
              url: https://example.com
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  image_count:
                    type: integer
                  og_image:
                    type: string
                  images:
                    type: array
                    items:
                      type: object
                      properties:
                        src:
                          type: string
                        alt:
                          type: string
                        width:
                          type: integer
              example:
                image_count: 8
                og_image: …
                images:
                - src: …
                  alt: …
                  width: 800
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/web/navigation:
    post:
      operationId: postWebNavigation
      tags:
      - Web
      summary: 'The navigation structure of a site as seen on a page: header, footer and nav…'
      security: []
      description: 'The navigation structure of a site as seen on a page: header, footer and nav zones with their links and labels. Body: {url}. — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com
              required:
              - url
            example:
              url: https://example.com
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  zone_count:
                    type: integer
                  zones:
                    type: array
                    items:
                      type: object
                      properties:
                        tag:
                          type: string
                        links:
                          type: array
                          items:
                            type: object
                            properties:
                              text:
                                type: string
                              href:
                                type: string
              example:
                zone_count: 3
                zones:
                - tag: nav
                  links:
                  - text: About
                    href: …
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'