{"uid":"cap_9aJ_-WbOLEvgKIr85j-AX","slug":"relaystation-drop-na-dropna-d32a11ca","name":"Relaystation Drop NA (dropna)","description":"$0.0002/MB. Drop rows with empty cells — one-call data cleaning. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/data/dropna","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."},"how":{"enum":["any","all"],"type":"string"},"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":"string"},"minItems":1,"description":"Columns checked (default all)."}}},"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_RipyDg8ITNxqcMhRYHW7F","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":"Removes rows containing empty/null cells from a tabular dataset in a single API call, returning the cleaned data.","exampleAgentPrompt":"Clean this dataset by dropping all rows that have any empty or missing cells — here's my CSV data.","exampleUseCases":[{"title":"Pre-analysis CSV cleanup","prompt":"Before I run my sales analysis, drop every row in this CSV that has any blank fields so I'm only working with complete records."},{"title":"ML training data preparation","prompt":"I need to prep my training dataset — remove all rows with missing values from this table so the model doesn't choke on nulls."},{"title":"Reporting pipeline data hygiene","prompt":"My weekly report pipeline is ingesting this data feed — can you strip out any rows with empty cells before I aggregate the numbers?"}],"resultDescription":"Returns the original dataset with all rows containing one or more empty or null cells removed, along with metadata such as original row count, cleaned row count, and number of rows dropped.","failureModes":["Malformed or non-tabular input data returns a parsing error","Empty dataset after dropping all rows (all rows had nulls) returns an empty result or warning","Exceeds size/MB limits returns a 402 or 413 error requiring additional payment","Invalid content-type or encoding returns a 400 bad request","Network timeout on very large files"],"whenToPreferThis":"Choose this endpoint when you need a quick, single-call solution to remove incomplete rows from tabular data without setting up a local pandas/data pipeline. Ideal for agents automating data preprocessing steps before analysis, reporting, or ML ingestion, especially when billed by MB at $0.0002/MB with a 1¢ minimum via x402 micropayment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:49:55.432Z","isFirstParty":false}