{"uid":"cap_r6IkR8VXAB5scgrhc-yhi","slug":"g-forge-extract-json-pointer-83553089","name":"G-Forge Extract JSON Pointer","description":"Get one precise value from a nested API response. Resolve an RFC 6901 JSON Pointer against supplied JSON, including array indexes and escaped keys. Missing paths and invalid escapes return errors. Supports the empty root pointer; URI-fragment notation is not accepted.","url":"https://api.getretold.com/services/agent-auto-launch-pointer/invoke?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"object","required":["document","pointer"],"properties":{"pointer":{"type":"string"},"document":{}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NPHNalvtwvktRy8uSJS0w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves an RFC 6901 JSON Pointer expression against a supplied JSON document to extract a single precise value from any depth of nesting.","exampleAgentPrompt":"From this API response JSON, extract the value at the pointer /orders/0/shipping/address — just give me that one field.","exampleUseCases":[{"title":"Extract nested API response field","prompt":"I got this big nested JSON back from a payment API and I just need the value at /transaction/details/fee — can you pull that out for me?"},{"title":"Retrieve array element from JSON","prompt":"Here's a JSON document with a results array — can you get me the value at /results/2/user/email from it?"},{"title":"Read config value from JSON blob","prompt":"I have a JSON config object and I need to read the setting at /environment/database/host — can you resolve that pointer and give me the value?"}],"resultDescription":"Returns the single value resolved at the specified RFC 6901 JSON Pointer path within the supplied document. The value can be any JSON type (string, number, boolean, object, array, or null). Returns an error if the pointer path is missing, malformed, or uses URI-fragment notation (#).","failureModes":["Pointer path does not exist in the document — returns a missing-path error","Invalid RFC 6901 escape sequences in the pointer — returns a parse error","URI-fragment notation (starting with #) is not accepted — returns an error","Malformed JSON document supplied — returns a parse or validation error","Empty pointer string resolves to the root document (valid behavior, not an error)"],"whenToPreferThis":"Use this endpoint when you need to extract exactly one value from a known location in a nested JSON document using a precise RFC 6901 pointer expression, especially when you want to avoid writing custom parsing code or when the path includes array indexes or keys requiring RFC 6901 escape handling (~ and /).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T06:43:29.482Z","isFirstParty":false,"canonicalSlug":"g-forge-extract-json-pointer-83553089"}