{"uid":"cap_ZZjYL33juF6r1PeI--C_D","slug":"x402-agent-toolkit-json-transform-c81c9cf2","name":"x402 Agent Toolkit – JSON Transform","description":"Paid utility endpoints for AI agents. Pay with USDC on Base or Solana. Pure computation, no LLM dependency.","url":"https://x402-agent-toolkit.vercel.app/api/json-transform?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data","operation"],"properties":{"data":{"type":"string","description":"Input JSON data"},"params":{"type":"object"},"operation":{"enum":["filter","pick","flatten","keys","count"],"type":"string"}}},"responseSchema":{"type":"object"},"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_EH239GTTZ0zvtgznRA1oG","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":"Applies a named transformation operation to a JSON string, returning the transformed result for $0.01 USDC per call","exampleAgentPrompt":"Transform this JSON string '{\"name\":\"Alice\",\"score\":42}' using the 'flatten' operation — pay the $0.01 USDC fee and return the result.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the result of the specified transformation operation applied to the input JSON data string. The structure of the response object depends on the operation performed.","failureModes":["Missing required field 'data' or 'operation' returns validation error","Invalid JSON string in 'data' field causes parse failure","Unknown or unsupported 'operation' value returns error","Payment not completed or rejected causes 402 Payment Required","Malformed params object causes operation to fail or return unexpected output"],"whenToPreferThis":"Choose this endpoint when you need deterministic, LLM-free JSON transformation as a paid utility — especially in automated agent workflows where you want predictable computation billed per-call in USDC on Base or Solana via x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:43:44.143Z","isFirstParty":false,"canonicalSlug":"x402-agent-toolkit-json-transform-c81c9cf2"}