{"uid":"cap_hA-F9F4Dq3yZBw9jvOjFk","slug":"csv-normalize-api-184de667","name":"CSV Normalize API","description":"41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.","url":"https://x402-micro-pay.com/api/skills/csv-normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":400000,"minLength":1},"delimiter":{"enum":[",",";","\t","|"],"type":"string","default":","}}},"responseSchema":{"type":"json","example":{"ok":true,"rows":[{"e_mail":"ada@example.com","first_name":"Ada"}],"skill":"csv_normalize","headers":["first_name","e_mail"],"row_count":1,"column_types":{"e_mail":"string","first_name":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VtPB4DV0FgFAXlkwsAtvs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and normalizes a raw CSV string, returning cleaned rows, inferred column types, and standardized headers as structured JSON.","exampleAgentPrompt":"Take this CSV text and normalize it — the delimiter is a comma — and give me back the cleaned rows with inferred column types: 'First Name,E-Mail\\nAda,ada@example.com'.","exampleUseCases":[{"title":"Normalize exported CRM contacts","prompt":"I exported our CRM contacts as a CSV with messy headers and mixed delimiters. Here's the raw text with semicolons as the delimiter — can you normalize it and tell me the column types so I can import it cleanly?"},{"title":"Prepare survey data for analysis","prompt":"I have raw survey responses as a tab-delimited CSV string. Normalize it for me and return the rows as structured JSON with column type inference so I can feed it into my analysis pipeline."},{"title":"Clean pipe-delimited product feed","prompt":"Here's a product catalog dump using pipe characters as delimiters. Can you normalize this CSV and extract the headers and column types so I know what fields I'm working with before loading it into the database?"}],"resultDescription":"Returns a JSON object with ok:true, the list of normalized column headers, an array of cleaned row objects (with standardized key names), the total row_count, and a column_types map indicating the inferred data type (e.g. string, integer) for each column.","failureModes":["Malformed CSV with inconsistent column counts returns an error","Empty CSV string (minLength:1 violated) returns a 400-style error","CSV exceeding 400,000 characters is rejected","Unsupported delimiter not in enum returns validation error","HTTP 402 returned if payment not attached — requires x402 USDC payment on Base to proceed"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call CSV normalization service with no API key or account setup — ideal for one-off or infrequent data cleaning tasks in an agentic pipeline. Best when you already have CSV text in memory and need structured JSON rows with type inference returned immediately. Prefer alternatives if you need large-scale batch processing beyond 400KB or require complex transformation rules beyond normalization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:39:13.967Z","isFirstParty":false,"canonicalSlug":"csv-normalize-api-184de667"}