# FastX402 ASCII Table Formatter

> FastX402 ASCII Table Formatter is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Converts a JSON array of objects into a formatted ASCII, Unicode, or Markdown table string

## Facts

- Endpoint: GET https://fastx402.tools/ascii-table-format?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-ascii-table-formatter-490c20c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f1EeK_wSfasLcsCiP3Hnv

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 fastx402-ascii-table-formatter-490c20c4
```

Example prompt: Can you take this JSON array [{"name":"Alice","age":30,"city":"NYC"},{"name":"Bob","age":25,"city":"LA"}] and format it as a Unicode table with nice borders?

## When to prefer this

Choose this endpoint when you need a quick, zero-setup way to render a JSON array of objects as a human-readable table with configurable border styles (ASCII, Unicode, or Markdown). It is ideal for AI agents that want to display structured data in terminal output, documentation, or chat responses without implementing table-rendering logic themselves. At $0.001 per call it is cost-effective for high-frequency formatting tasks.

## Known failure modes

- Empty or malformed JSON array returns an error
- Non-array JSON input fails validation
- Inconsistent object keys across array items may produce misaligned columns
- Missing required 'data' query parameter returns a 400-level error
- Invalid 'style' enum value (not ascii, unicode, or markdown) may default or error

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

Returns a JSON object containing the formatted table as a string (with chosen border style), the number of rows, and the number of columns. The table string can be used directly in terminal output, markdown documents, or plain-text displays.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "data"
     ],
     "properties": {
      "data": {
       "type": "string",
       "description": "JSON array of objects to format as table"
      },
      "style": {
       "type": "string",
       "description": "Border style: ascii (default), unicode, or markdown"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "rows": {
       "type": "integer"
      },
      "table": {
       "type": "string"
      },
      "columns": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": 2,
  "table": "┌───────┬─────┬──────┐\n│ name  │ age │ city │\n├───────┼─────┼──────┤\n│ Alice │ 30  │ NYC  │\n│ Bob   │ 25  │ LA   │\n└───────┴─────┴──────┘",
  "columns": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-ascii-table-formatter-490c20c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
