{"uid":"cap_fdDsugaixiDbAguuc-KuC","slug":"x402-tools-hub-json-transform-d7fcfa2f","name":"x402-tools-hub JSON Transform","description":"Agent Toolkit + AI Gateway + Alpha Scraper — 13 paid endpoints for AI agents.","url":"https://tools-hub-v4-xi.vercel.app/api/json-transform","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IENR0X_JtwFdKPkacoIca","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Transforms a JSON payload into a different structure or format using a paid AI-powered transformation endpoint.","exampleAgentPrompt":"Take this JSON object I have with nested user data and transform it so it's flat — rename 'user.firstName' to 'first_name' and 'user.lastName' to 'last_name', and drop any fields that are null.","exampleUseCases":[{"title":"API response format normalization","prompt":"I'm getting back JSON from a third-party API with camelCase keys but my database expects snake_case — can you transform this JSON object to convert all the keys to snake_case?"},{"title":"Nested to flat structure conversion","prompt":"I have a deeply nested JSON with address info like address.city, address.zip, address.state and I need it flattened so each field is at the top level — can you restructure it for me?"},{"title":"Schema remapping for downstream service","prompt":"I need to remap this JSON payload so 'id' becomes 'userId', 'ts' becomes 'timestamp', and the 'meta' object gets merged into the top level — transform it for me."}],"resultDescription":"Returns a transformed JSON object reshaped according to the provided instructions, with fields renamed, restructured, filtered, or reformatted as specified.","failureModes":["Invalid or malformed JSON input returns an error","Ambiguous transformation instructions may produce unexpected output","Payment failure (HTTP 402) if USDC balance is insufficient","Timeout on very large JSON payloads","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Use this endpoint when you need a quick, paid AI-assisted JSON transformation without setting up your own transformation logic — particularly useful for one-off schema conversions or remapping JSON between incompatible APIs in an agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:38:47.458Z","isFirstParty":false}