{"uid":"cap_M82jAlBObVr5hkDDILs2Q","slug":"hermes-micro-agent-json-query-b3e2b2df","name":"Hermes Micro-Agent – JSON Query","description":"20 paid AI and data micro-tasks over HTTP 402 on Base (USDC): summarize, extract, keywords, sentiment, translate, rewrite, proofread, python_debug, code_lint, code_explain, code_refactor, code_review, json_minify, json_query, csv_to_json, hash, base64, convert, describe_image, probe_media. Each call is priced per-task and verified on-chain before execution.","url":"https://hermesmicroservice.theworkpc.com/json_query?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"task":{"type":"string","description":"Which micro-task to run"},"input":{"type":"string","description":"Alias for prompt"},"prompt":{"type":"string","description":"Text to process"}}},"responseSchema":{"type":"string"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I2Bt4LaiOff7OOrTMOj51","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a JSONPath or natural-language query against a JSON payload and returns the result, paid per-call via on-chain USDC on Base","exampleAgentPrompt":"I have this JSON blob: {\"orders\":[{\"id\":1,\"status\":\"shipped\"},{\"id\":2,\"status\":\"pending\"}]} — can you query it to extract just the ids of all orders with status 'pending'?","exampleUseCases":[{"title":"Extract nested config value","prompt":"I have this JSON config file and I need you to pull out the value at 'database.host' — here's the raw JSON: {\"database\":{\"host\":\"prod-db.internal\",\"port\":5432},\"cache\":{\"ttl\":300}}"},{"title":"Filter array by condition","prompt":"From this JSON array of users, extract only the entries where 'active' is true and give me their email addresses: [{\"name\":\"Alice\",\"email\":\"a@x.com\",\"active\":true},{\"name\":\"Bob\",\"email\":\"b@x.com\",\"active\":false}]"},{"title":"Parse API response field","prompt":"I got this JSON back from an API call and I just need the 'access_token' value out of it — can you query it? {\"access_token\":\"tok_abc123\",\"expires_in\":3600,\"token_type\":\"Bearer\"}"}],"resultDescription":"A plain string containing the result of the JSON query — this could be a single extracted value, a comma-separated list, a JSON snippet, or a formatted representation of the matched data, depending on the query prompt provided.","failureModes":["Malformed JSON input causes parsing failure and returns an error string","Ambiguous or poorly formed JSONPath/query prompt may return unexpected or empty results","Payment on Base/USDC fails or is not confirmed, resulting in HTTP 402 rejection before execution","Very large JSON payloads may exceed token or size limits","Query references a non-existent key, returning null or empty result"],"whenToPreferThis":"Choose this endpoint when you need to extract or query specific values from a JSON string or object on-demand without running local code, especially in agentic pipelines where JSON data arrives as a string and needs field extraction before the next step. It is well-suited for lightweight, pay-per-use JSON field lookups without spinning up a full data processing service. Prefer alternatives if you need bulk processing of many JSON documents or if you require complex aggregations beyond simple path extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:04:26.852Z","isFirstParty":false,"canonicalSlug":"hermes-micro-agent-json-query-b3e2b2df"}