Table extraction
Extract structured table rows and columns from supplied HTML, DOCX, or CSV documents.
$0.025 USDCBase + Solanax402 v2POST
Endpoint
https://apiacre.com/v1/document/tablesSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Pay $0.025 USDC and run in your browserOfficial Coinbase agent path
Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.025 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.
npx --yes awal@latest x402 pay https://apiacre.com/v1/document/tables \
-X POST \
-d '{"filename":"report.csv","content_base64":"bmFtZSxzY29yZQpBZGEsOTg="}' \
--max-amount 25000 \
--jsonCoinbase pay-for-service documentation · Buyer setup and wallet safety
Alternative third-party AgentCash commands
Run check first without payment. Its fetch command may automatically pay up to the exact listed price.
npx --yes agentcash@latest check https://apiacre.com/v1/document/tables
npx --yes agentcash@latest fetch https://apiacre.com/v1/document/tables \
--method POST \
--header 'content-type: application/json' \
--body '{"filename":"report.csv","content_base64":"bmFtZSxzY29yZQpBZGEsOTg="}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.025Input example
{
"filename": "report.csv",
"content_base64": "bmFtZSxzY29yZQpBZGEsOTg="
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "document.tables",
"version": "1",
"data": {
"rows": [
[
"name",
"score"
],
[
"Ada",
"98"
]
],
"rowCount": 2,
"metadata": {
"filename": "report.csv",
"bytes": 17,
"sha256": "bae2475f86fa2343a9611424d3c2475e454b639c71da96a788602528e0937bea"
},
"warning": null
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": [],
"next_actions": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/document/tables' \
-H 'content-type: application/json' \
--data '{"filename":"report.csv","content_base64":"bmFtZSxzY29yZQpBZGEsOTg="}'