SERVICE / DETAILother

docs-snippet

GET api.agentstools.dev/docs/snippet

SONAR SCORE0.708
LIVE PRICE0.008000
BAZAAR LIVEcompatible
CDP INDEXEDno
DECISION EVIDENCE

Why an agent can trust this route.

17 observations in the last 24h
HANDSHAKE SUCCESS100.0%402 challenge reachable
PAID DELIVERY0.0%settlement observed
P90 LATENCY3365msrecent response window
PRICE DRIFT0.0%advertised vs observed

Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.

SONAR PROBE HISTORY / 30D

Observed outcomes

JSON ↗
LIVE ENDPOINT METADATA

Working code snippets for a library, matched to a topic. Give an ecosystem, package name and a topic or symbol and get the fenced code blocks from the README or docs whose language, code or nearest heading matches, each with a source citation and an honest truncated flag. Ideal for grounding a coding agent in real usage examples.

Resource: api.agentstools.dev/docs/snippet

Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493

Payment methods: · Last validation: 2026-09-14 16:34:43.747+00

{
  "input": {
    "type": "object",
    "required": [
      "type",
      "method"
    ],
    "properties": {
      "type": {
        "type": "string",
        "const": "http"
      },
      "method": {
        "enum": [
          "GET",
          "HEAD",
          "DELETE"
        ],
        "type": "string"
      },
      "queryParams": {
        "type": "object",
        "required": [
          "name",
          "ecosystem"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Package name; for github pass owner/repo such as coinbase/x402. npm scoped names @scope/name are allowed."
          },
          "topic": {
            "type": "string",
            "description": "Optional topic or symbol; matched against the README/llms.txt markdown headings, such as authentication or useEffect."
          },
          "symbol": {
            "type": "string",
            "description": "Optional symbol name to match, an alias for topic."
          },
          "version": {
            "type": "string",
            "description": "Optional exact version to pin, such as 2.31.0; default is latest."
          },
          "ecosystem": {
            "enum": [
              "npm",
              "pypi",
              "crates",
              "github"
            ],
            "type": "string",
            "description": "Package ecosystem. Aliases accepted: pip and python map to pypi; cargo and rust map to crates; node maps to npm; gh maps to github."
          }
        }
      }
    },
    "additionalProperties": false
  },
  "output": {
    "type": "object",
    "required": [
      "type"
    ],
    "properties": {
      "type": {
        "type": "string"
      },
      "example": {
        "type": "object"
      }
    }
  },
  "paymentRequirements": [
    {
      "raw": {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
        "amount": "8000",
        "scheme": "exact",
        "network": "eip155:8453",
        "maxTimeoutSeconds": 300
      },
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "scheme": "exact",
      "network": "eip155:8453",
      "amountAtomic": "8000"
    }
  ]
}
METADATA PROVENANCE

Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.