$0.0002/MB
$0.0002/MB. Reshape tables long↔wide — pivot and unpivot without a spreadsheet. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny
Answeringour last check, 2026-10-10
1 of 1checks answered this week
642 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.relaystation.ai/v1/data/pivot
| Category | Everything else |
|---|---|
| Provider host | api.relaystation.ai |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.01 | 642 ms |
Example input (from the provider)
{
"body": {
"agg": "count",
"columns": "string",
"file": {},
"id": [
"string"
],
"index": [
"string"
],
"mode": "pivot",
"value": [
"string"
],
"values": "string"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"agg": {
"description": "pivot: cell aggregate (default count behavior per route).",
"enum": [
"count",
"sum",
"avg",
"min",
"max"
],
"type": "string"
},
"columns": {
"description": "pivot: the column whose values become output columns.",
"type": "string"
},
"file": {
"description": "cputools input-source: { inline: <base64 \u2264 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, \u2264 50 MB> }.",
"type": "object"
},
"from": {
"description": "A tabular file format: csv, tsv, json (array of objects), or ndjson.",
"enum": [
"csv",
"tsv",
"json",
"ndjson"
],
"type": "string"
},
"id": {
"description": "unpivot: the id columns kept on every output row.",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"index": {
"description": "pivot: the row-key columns.",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"mode": {
"enum": [
"pivot",
"unpivot"
],
"type": "string"
},
"to": {
"description": "A tabular file format: csv, tsv, json (array of objects), or ndjson.",
"enum": [
"csv",
"tsv",
"json",
"ndjson"
],
"type": "string"
},
"value": {
"description": "unpivot: the columns melted into variable/value rows (default: all non-id).",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"values": {
"description": "pivot: the column aggregated into the cells.",
"type": "string"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}