{"uid":"cap_f5zSP5ezYIRNvkRJyaS7C","slug":"type-inference-from-json-43a9b63d","name":"agentutility — paid x402 endpoints for autonomous agents","description":"Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.","url":"https://x402.agentutility.ai/type-inference-from-json","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["json"],"properties":{"json":{"type":["string","object","array","number","boolean","null"],"description":"The JSON sample to infer from. Accept a JSON string OR a pre-parsed object/array/primitive. Max 256 KB if passed as string."},"format":{"enum":["typescript","zod","jsonschema"],"type":"string","description":"Output format. Default 'typescript'."},"root_name":{"type":"string","description":"Name of the root type / interface / Zod export. Must be a valid JS identifier. Default 'Root'."},"date_strings":{"type":"boolean","description":"If true (default), recognize ISO-8601 date-time / UUID / URL / email strings and emit format-aware types. Set false to treat all strings as plain 'string'."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"types":{"type":"string"},"format":{"type":"string"},"source":{"type":"string"},"root_name":{"type":"string"},"inferred_shape":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"joined_at":{"type":"string"}}}}}}}}},"responseSchema":{"type":"json","example":{"types":"export interface Root {\n  id: number;\n  name: string;\n  tags: Array<string>;\n  joined_at: string;\n}\n","format":"typescript","source":"Inferred locally; no upstream call","root_name":"Root","inferred_shape":{"id":"integer","name":"string","tags":["string"],"joined_at":"string<date-time>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W6rBSPNqq58DyHph7HHHz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":null,"exampleAgentPrompt":null,"exampleUseCases":null,"resultDescription":null,"failureModes":null,"whenToPreferThis":null,"instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:53:39.813Z","isFirstParty":false}