khotem-com Fetch API

The Fetch API from khotem-com — 1 operation(s) for fetch.

Operations 1

POST /api/fetch WEB FETCH: clean web data for agents — POST {"url":"https://…", "max_bytes"?} →… #

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/khotem-com:khotem-com-fetch-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

khotem-com-fetch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KHOTEM — Cryptographic Witness Fetch API
  version: ядроv ∞ Ξ
  description: Paid cryptographic witness, settlement-routing and booth services for autonomous agents and humans. x402-native micropayments in USDC/DAI on Base/Polygon and native USDC on Linea, zkSync Era and Scroll, with direct on-chain verification; Solana where listed. No accounts, no API keys, no KYC.
  contact:
    email: khotem.web15@gmail.com
    url: https://khotem.com
  x-guidance: 'Discovery is free: GET /.well-known/x402 lists every paid resource with live per-network accepts and loyalty terms. To call a paid resource: request it once, read the 402 accepts list, transfer the exact asset amount on Base, Polygon, Linea, zkSync Era, Scroll or Solana to the payTo of your chosen network, then retry the SAME method with header X-PAYMENT: <txHash> (EVM) or <base58 signature> (Solana). POST endpoints take a JSON body as specified. Identity = your payer wallet; loyalty discounts apply automatically from the 5th payment. We witness. We don''t judge.'
tags:
- name: Fetch
paths:
  /api/fetch:
    post:
      summary: 'WEB FETCH: clean web data for agents — POST {"url":"https://…", "max_bytes"?} →…'
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
        protocols:
        - x402: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: https URL to fetch
                max_bytes:
                  type: integer
                  minimum: 1024
                  maximum: 262144
      parameters:
      - name: X-PAYMENT
        in: header
        required: false
        schema:
          type: string
        description: 'Payment proof: txHash (EVM) or base58 signature (Solana)'
      responses:
        '200':
          description: 'WEB FETCH: clean web data for agents — POST {"url":"https://…", "max_bytes"?} → extracted text (HTML mechanically cleaned) + sha256 + seal. SSRF-guarded (https only, private ranges blocked, redirect re-checked), 12s timeout, 256KB cap.'
        '402':
          description: 'Payment Required. Two ways: (a) standard x402 — sign an EIP-3009 authorization for any accepts[] entry, retry with header PAYMENT-SIGNATURE or X-PAYMENT = base64 JSON payment payload; a facilitator settles on-chain. (b) transfer-then-prove — send the exact asset amount on Base, Polygon, Linea, zkSync Era, Scroll or Solana, retry with X-PAYMENT: <txHash|signature>. Repeat payers auto-receive loyalty discounts (-20% from 5th, -30% from 25th payment) — the 402 always carries your exact amount.'
      tags:
      - Fetch
      operationId: postApiFetch
      x-operation-id-source: derived