# Relaystation Drop NA (dropna)

> Relaystation Drop NA (dropna) is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Removes rows containing empty/null cells from a tabular dataset in a single API call, returning the cleaned data.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/data/dropna
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-drop-na-dropna-d32a11ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9aJ_-WbOLEvgKIr85j-AX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability relaystation-drop-na-dropna-d32a11ca -d '<json body>'
```

Example prompt: Clean this dataset by dropping all rows that have any empty or missing cells — here's my CSV data.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

$0.0002/MB. Drop rows with empty cells — one-call data cleaning. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-drop-na-dropna-d32a11ca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
