{
  "serviceId": "table-extraction",
  "displayName": "Table Extraction from Text",
  "description": "Extract tables from documents into typed JSON: headers, rows, and cell types. POST /v1/table with {text} and get the parsed tables as one JSON object. Deterministic on clean inputs. Pay per request in USDC; no account, no API key.",
  "category": "documents",
  "resourceUrl": "https://test.agent.pocket.network/v1/table-extraction",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:84532",
      "chainId": 84532,
      "tokenAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "protocols": [
    "rest"
  ],
  "inputSchema": {
    "type": "object",
    "description": "Document text containing one or more tables.",
    "properties": {
      "text": {
        "type": "string",
        "description": "Text to extract tables from."
      }
    },
    "required": [
      "text"
    ]
  },
  "outputSchema": {
    "type": "object",
    "description": "For POST /v1/table, a JSON object with a `tables` array of typed tables (headers, rows, cell types). The exact shape is the service's own and is not pinned here; errors return a JSON object with an `error` field, and the GET routes return their own small JSON documents."
  },
  "methods": {
    "GET /v1/health": "read",
    "GET /v1/version": "read",
    "POST /v1/table": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:84532"
  ],
  "serving": true,
  "page": "https://test.agent.pocket.network/services/table-extraction",
  "descriptor": "https://test.agent.pocket.network/services/table-extraction/descriptor.json"
}