{"uid":"cap_Js6MTQi2VVlEEhDZi4RV1","slug":"agentshelf-jsonpath-query-evaluator-60cf5b2f","name":"AgentShelf JSONPath Query Evaluator","description":"Call when an agent needs a JSONPath query evaluated over JSON. No network. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/json-path first.","url":"https://agentshelf.syntexa.ch/v1/json-path?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json":{"examples":[{"user":{"name":"Ada"}}],"description":"JSON document to query."},"path":{"type":"string","examples":["$.user.name"],"maxLength":500,"minLength":1,"description":"JSONPath expression such as $.user.name."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dOiL1btHgsI_71YHw0R7q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a JSONPath expression against a provided JSON value and returns the matching results, with no external network calls.","exampleAgentPrompt":"Can you run the JSONPath query `$.store.book[?(@.price < 10)].title` over this JSON for me? { \"store\": { \"book\": [{\"title\": \"A\", \"price\": 8}, {\"title\": \"B\", \"price\": 12}] } }","exampleUseCases":[{"title":"Extract nested API response fields","prompt":"I have this API response JSON and I want to pull out all the `email` fields from the `users` array — can you run the JSONPath `$.users[*].email` against it for me?"},{"title":"Filter array by condition","prompt":"Here's a JSON list of products. Can you use the JSONPath `$.products[?(@.inStock == true)].name` to give me just the names of in-stock items?"},{"title":"Retrieve deeply nested configuration value","prompt":"I've got a big config JSON and I need the value at `$.environments.production.database.host` — can you evaluate that JSONPath against it?"}],"resultDescription":"Returns the result of the JSONPath expression evaluated against the provided JSON, typically an array of matching values or nodes found at the specified path.","failureModes":["Invalid JSONPath syntax returns an error","Malformed or non-parseable JSON input returns a parse error","Path that matches nothing returns an empty array","Path string exceeding 500 characters is rejected","Missing required fields (json or path) returns a validation error","Payment of exactly $0.002 USDC required; incorrect payment amount causes rejection"],"whenToPreferThis":"Use this endpoint when an agent needs deterministic, server-side JSONPath query evaluation over a JSON document without making additional network calls or relying on LLM-based extraction. Prefer this over regex or LLM parsing when the JSON structure is known and a precise JSONPath expression can be written. Check the free sandbox endpoint POST /v1/sandbox/json-path first before paying $0.002 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:23.408Z","isFirstParty":false,"canonicalSlug":"agentshelf-jsonpath-query-evaluator-60cf5b2f"}