{"uid":"cap_Tw2kEeBBwRd0-EeU88WN1","slug":"relaystation-data-cast-cc6f7d8b","name":"Relaystation Data Cast","description":"$0.0002/MB. Coerce column types (string, integer, number, boolean, date) — stop fighting stringly-typed data. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/data/cast","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":{"type":"object","properties":{"to":{"enum":["csv","tsv","json","ndjson"],"type":"string","description":"A tabular file format: csv, tsv, json (array of objects), or ndjson."},"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."},"from":{"enum":["csv","tsv","json","ndjson"],"type":"string","description":"A tabular file format: csv, tsv, json (array of objects), or ndjson."},"columns":{"type":"array","items":{"type":"object","required":["column","to"],"properties":{"to":{"enum":["string","integer","number","boolean","date"],"type":"string"},"column":{"type":"string"}}},"minItems":1}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3klNje_XoIxTYuWzI1sBJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Coerces CSV/tabular column values into specified types (string, integer, number, boolean, date) to eliminate stringly-typed data problems","exampleAgentPrompt":"Cast the 'age' column to integer, 'active' column to boolean, and 'created_at' column to date in this dataset — it's all stored as strings right now and I need proper types before loading it into our database.","exampleUseCases":[{"title":"ETL pipeline type normalization","prompt":"I'm ingesting a CSV export where every column is a string — can you cast the 'price' column to number, 'quantity' to integer, and 'in_stock' to boolean so I can load it cleanly into Postgres?"},{"title":"Boolean column cleanup from form data","prompt":"My form submission data has a 'subscribed' column with values like 'yes', 'no', 'true', 'false', '1', '0' — please coerce all of it to actual booleans."},{"title":"Date string standardization","prompt":"I have a 'signup_date' column full of messy string dates in various formats — cast them all to proper date types so I can do date math on them."}],"resultDescription":"Returns the input data records with specified columns coerced to their target types (string, integer, number, boolean, or date). Values that cannot be converted may be returned as null or accompanied by error indicators. Priced at $0.0002/MB of data processed, with a 1¢ minimum charge via x402 and remainder auto-credited.","failureModes":["Unparseable values for the target type (e.g. 'hello' cast to integer) may return nulls or errors per value","Malformed input data structure returns a 4xx error","Ambiguous date formats may be misinterpreted or rejected","Very large payloads may incur unexpected costs above the minimum","Missing or invalid type specification for a column returns a validation error"],"whenToPreferThis":"Choose this endpoint when you have tabular or CSV data where columns are stored as strings but need to be proper typed values before downstream processing, database ingestion, or analytics. It is ideal for ETL pipelines, data cleaning steps, and any scenario where stringly-typed data causes type errors. At $0.0002/MB it is cost-effective for moderate data volumes. Prefer it over general LLM-based data extraction when you need deterministic type coercion rather than semantic understanding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:48:34.390Z","isFirstParty":false}