{"uid":"cap_6Ae8l48wwLCLzqHQrXuVL","slug":"machine-shop-normalize-json-fc7d5a5c","name":"Machine Shop – Normalize JSON","description":"Turn Apify product scrape results into safe catalog updates with Catalog Update Gate. Find evidence in supplied documents, compare snapshots, extract typed JSON fields, inspect x402 quotes and assess API migrations. Preview inputs, evidence and cost for free. No live web search, scheduled monitoring or third-party purchasing.","url":"https://api.pay-forge.online/v1/normalize-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","title":"Text","maxLength":50000}}},"responseSchema":{"type":"json","example":{"json":"{\"a\":1,\"b\":2}","value":{"a":1,"b":2}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3nysye0r5jBIHy6c4Iyzl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts and normalizes typed JSON fields from unstructured or semi-structured text input, returning a parsed JSON object.","exampleAgentPrompt":"Can you extract and normalize the JSON fields from this raw text block for me: 'user_id: 42, name: Alice, active: true, score: 98.6' — I need a clean typed JSON object back.","exampleUseCases":[{"title":"Parsing x402 quote response","prompt":"I got this raw x402 payment quote response back from an API and it's a mess — can you normalize it into a clean JSON object so I can read the price and recipient fields?"},{"title":"Structuring log or config text","prompt":"Here's a block of config text from our server logs: 'host=db.internal port=5432 max_conn=100 ssl=true' — can you convert that into a proper typed JSON object for me?"},{"title":"Extracting API migration fields","prompt":"I'm comparing two API response snapshots and need to pull out the key fields as structured JSON — here's the raw text from both, can you normalize them so I can diff them?"}],"resultDescription":"Returns a JSON object with two fields: 'json' (the normalized JSON as a string) and 'value' (the parsed, typed JavaScript/JSON object with correct types for each field, e.g. numbers as numbers, booleans as booleans).","failureModes":["Input text exceeds 50,000 character limit — request rejected","Input contains no parseable JSON-like fields — returns empty or minimal object","Ambiguous field types may be inferred incorrectly (e.g. '1' could be string or number)","Malformed input with deeply nested or conflicting structures may produce incomplete output","No live web search — cannot fetch external URLs or documents on its own"],"whenToPreferThis":"Choose this endpoint when you have raw, unstructured, or semi-structured text that needs to be converted into a clean, typed JSON object — especially for x402 quote inspection, API response normalization, or document field extraction. Prefer it over generic LLM prompting when you need consistent, schema-validated JSON output from text. Not suitable for live web fetching, scheduled monitoring, or third-party purchasing workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:38:22.004Z","isFirstParty":false,"canonicalSlug":"machine-shop-normalize-json-fc7d5a5c"}