{"uid":"cap_j5wf9whkBM4qzBS2ZN6SI","slug":"csv-schema-infer-lite-43a83dc5","name":"CSV Schema Infer Lite","description":"Infer column names and sample dtypes from CSV text. Call when quick schema report before loading tables. Returns columns with dtype hints as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/csv-schema-infer","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","description":"CSV text sample"}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-csv-schema-infer/v1","columns":[{"name":"a","dtype_hint":"number"},{"name":"b","dtype_hint":"string"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H1Z9INlnrQ-AHE_5nSrey","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Infers column names and data type hints from a CSV text sample, returning a deterministic JSON schema report.","exampleAgentPrompt":"Can you infer the column names and data types from this CSV text before I load it into a table: 'id,name,age,salary\\n1,Alice,30,75000\\n2,Bob,25,62000'?","exampleUseCases":[{"title":"Pre-ETL schema preview","prompt":"Here's a CSV sample I'm about to load into Postgres — can you quickly infer the column names and dtypes so I know what table schema to create? 'product_id,name,price,stock\\n101,Widget A,9.99,250\\n102,Widget B,14.50,80'"},{"title":"Data pipeline validation","prompt":"Before my pipeline ingests this CSV, can you tell me the inferred column names and data types so I can catch any type mismatches early? 'date,region,revenue,units\\n2024-01-01,West,15200.50,320\\n2024-01-02,East,8900.00,190'"},{"title":"Ad-hoc CSV structure check","prompt":"I just got a CSV export from a vendor and I'm not sure what the columns represent — can you infer the schema from this sample? 'ts,user_id,event_type,value\\n1700000000,u123,click,1\\n1700000001,u456,purchase,49.99'"}],"resultDescription":"A deterministic JSON object listing each column name found in the CSV along with inferred data type hints (e.g. integer, float, string, date), derived purely from the provided CSV text sample using local computation.","failureModes":["Malformed or empty CSV input returns an error or empty schema","CSV with no header row may produce incorrect or unnamed column inferences","Very short samples with one row may yield ambiguous dtype inference","Non-standard delimiters or encodings may cause parsing failures","Extremely large CSV text payloads may be rejected or truncated"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.001 USDC), serverless schema preview of CSV text before loading it into a database or pipeline — no API key required, no storage, no external dependencies. Prefer it over full ETL tools when you only need column names and dtype hints from a sample, not full data loading or transformation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:15:15.191Z","isFirstParty":false}