{"uid":"cap_sbUTF1RuYAG_w5dRZ5RZR","slug":"fastx402-lab-json-pointer-extractor-38fdc28f","name":"FastX402 Lab JSON Pointer Extractor","description":"146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/json-pointer?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["json","pointer"],"properties":{"json":{"type":"string","description":"The JSON document"},"pointer":{"type":"string","description":"RFC 6901 pointer, e.g. /items/0/name (\"\" is the whole document)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"type":{"type":"string"},"found":{"type":"boolean"},"value":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"type":"string","found":true,"value":"b"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sF06IUimSW_7BY34KCn7b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts a single value from a JSON document using an RFC 6901 JSON Pointer path expression.","exampleAgentPrompt":"From this JSON string '{\"items\":[{\"name\":\"widget\",\"price\":9.99}]}', extract the value at the JSON Pointer path /items/0/name and tell me what it is.","exampleUseCases":[{"title":"Pull product name from API response","prompt":"I got this big JSON blob back from a product API: '{\"catalog\":{\"products\":[{\"id\":1,\"name\":\"Blue Widget\",\"sku\":\"BW-001\"}]}}' — can you extract just the value at /catalog/products/0/name for me?"},{"title":"Check nested config value","prompt":"Here's a JSON config file: '{\"server\":{\"host\":\"api.example.com\",\"port\":8080,\"tls\":true}}' — grab the value at /server/host so I know which host it's pointed at."},{"title":"Extract first error message from response","prompt":"This API returned an error response in JSON: '{\"errors\":[{\"code\":422,\"message\":\"Field required\"}]}' — use a JSON Pointer to pull out the message at /errors/0/message."}],"resultDescription":"Returns a JSON object with a 'found' boolean (whether the pointer resolved to a value), a 'value' string (the extracted value if found), and a 'type' field indicating the JSON type of the extracted value.","failureModes":["Malformed JSON input returns an error or found:false","Invalid RFC 6901 pointer syntax may return an error","Pointer path that doesn't exist in the document returns found:false","Empty JSON document with non-empty pointer returns found:false","Deeply nested or very large JSON documents may time out"],"whenToPreferThis":"Use this endpoint when you need to extract exactly one value from a known path in a JSON document without writing custom parsing logic. It is ideal when working with large or complex API responses where you already know the RFC 6901 pointer path to the field you need. Prefer it over full JSON parsing tools when you only need a single field and want a lightweight, pay-per-call solution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:33.112Z","isFirstParty":false,"canonicalSlug":"fastx402-lab-json-pointer-extractor-38fdc28f"}