x402basequality 0.65

Retrieve a specific documentation page by ID from 10 pre-indexed platforms via x402 micropayment.

Price
per_call
Protocol
x402
Verified
no

What it does

AgentUtil Docs `/lookup` is a POST endpoint that retrieves the full chunked content of a specific documentation page by its identifier and platform. It is designed as a follow-up to the `/query` semantic search endpoint: once an agent identifies a relevant page via search, `/lookup` returns all chunks for that page with source URLs and section labels. The service covers approximately 38,000 chunks across 10 pre-indexed platforms including Shopify, Stripe, Cloudflare Workers, Next.js, Anthropic API, OpenAI API, Tailwind CSS, htmx, x402, and Jesse.

The endpoint accepts a JSON body with required `platform` and `page` fields, plus an optional `type` filter (e.g. mutation, query, function). It returns an array of chunk objects each containing content text, source URL, and section name, along with a count of chunks returned. Pricing is $0.002 per request paid via the x402 protocol using USDC on Base. A free tier of 10 requests per day per IP is available with no signup required.

The probe returned HTTP 400 (not 402) on POST, which suggests the endpoint expects a valid JSON body to trigger the x402 payment challenge rather than responding with 402 on an empty request. The OpenAPI spec and landing page are well-structured, and the service exposes standard agent discovery files (agent-service.json, agent.json, openapi.json). Query latency is advertised as under 100ms.

Capabilities

documentation-lookuppage-retrieval-by-idchunked-contentmulti-platform-docsx402-micropaymentusdc-on-basesemantic-doc-search-companionagent-discovery

Use cases

  • Retrieving full documentation for a specific Shopify GraphQL mutation after identifying it via semantic search
  • Fetching complete Stripe API reference pages for an AI coding assistant
  • Loading Cloudflare Workers documentation chunks into an agent's context window
  • Getting detailed Next.js or Tailwind CSS docs to answer developer questions
  • Building agentic workflows that need authoritative, sourced documentation

Fit

Best for

  • AI agents that need structured documentation retrieval across multiple platforms
  • Coding assistants that require full-page context after an initial semantic search
  • Workflows where per-page scraping is too slow or expensive compared to pre-indexed lookups

Not for

  • Searching documentation by meaning (use the /query endpoint instead)
  • Accessing documentation for platforms not yet indexed by AgentUtil
  • Bulk downloading entire documentation sets

Quick start

curl -X POST https://docs.agentutil.net/lookup \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "shopify",
    "page": "productVariantCreate"
  }'

Example

Request

{
  "page": "productVariantCreate",
  "type": "mutation",
  "platform": "shopify"
}

Response

{
  "page": "productVariantCreate",
  "chunks": [
    {
      "content": "The productVariantCreate mutation creates a new product variant...",
      "section": "Overview",
      "source_url": "https://shopify.dev/docs/api/admin-graphql/2024-01/mutations/productVariantCreate"
    },
    {
      "content": "Arguments: input (ProductVariantInput!) ...",
      "section": "Arguments",
      "source_url": "https://shopify.dev/docs/api/admin-graphql/2024-01/mutations/productVariantCreate"
    }
  ],
  "platform": "shopify",
  "chunks_returned": 2
}

Endpoint

Transporthttp
Protocolx402
Pay to0x1357bef96ec515d250137d7eb712f0395eb5142d
CurrencyUSD COIN

Quality

0.65/ 1.00

Full OpenAPI schema with request/response definitions and clear pricing from the landing page. However, the x402 challenge was not directly captured (endpoint returned 400 instead of 402), so liveness via the x402 protocol is not confirmed. No standalone docs pages exist beyond the landing page. Response example is inferred from the schema, not observed.

Warnings

  • Probe did not capture a 402 x402 challenge — endpoint returned 400 on POST, possibly requiring a valid JSON body to trigger payment flow
  • No dedicated documentation pages found (/docs, /api, /pricing all return 404)
  • Response example is inferred from OpenAPI schema, not from an actual observed response

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 01:22:17Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access