New The MCP server is live: all 44 APIs in Claude, Cursor or any MCP client. Connect your agent

AI-powered receipt processing and expense automation

Receipt Parser API

A powerful API for parsing receipts using AI models. This API extracts structured information from receipt documents in PDF and image formats (JPEG, JPG, PNG).

Built on edge computing with AI models, our API provides reliable and efficient receipt parsing capabilities with single-call processing for both OCR and structured data extraction.

Free tier included, no credit card required. One key works across every API.

At a glance

Receipt Parser API

25 credits / call
Free calls / month
40
Data Fields
35+
File Formats
4
Accuracy Rate
95.8%
Get your free API key

40 free calls on the free plan

Key features

  • Upload receipt files directly (PDF, JPEG, JPG, PNG)
  • Parse receipts from URLs or text input
  • Advanced OCR with PDF text extraction
  • Direct image processing using AI models
  • Single API call processing for maximum efficiency
  • Multi-currency and international format support

Built for

  • Expense management automation
  • Business travel expense tracking
  • Accounting software integration
  • Tax preparation and compliance
  • Personal finance applications
  • Receipt digitization services
  • Reimbursement workflow automation
  • Audit trail and record keeping

MCP · for your agent

Hand the Receipt Parser API to your agent

Connect Claude, Cursor or any MCP client once, then ask in plain words. Your agent finds this API, reads its docs and makes the call: 25 credits per call, the same as REST, from your team's balance.

File a trip expense report

“Here are 12 receipt photo links from my Berlin trip. Build an expense report by category with totals in USD.”

list_apis · get_api_docsfree

api_request POST /receipt-parser/v1/parse/url 25 cr

+ Currency API5 cr

Merchant, date, items, tax and total per receipt, grouped by category and converted to USD.

Split a team dinner bill

“Here's the text of last night's team dinner receipt. Split it by who ordered what and share the 18% tip evenly.”

list_apis · get_api_docsfree

api_request POST /receipt-parser/v1/parse/text 25 cr

Every item with price and tax, split into per-person totals including the tip.

Check receipts against policy

“Check this week's 30 submitted receipts against our policy: meals over $75 or any alcohol need manager approval.”

list_apis · get_api_docsfree

api_request POST /receipt-parser/v1/parse/url 25 cr

Items and totals per receipt, with policy exceptions flagged for manager approval.

$ claude mcp add --transport http apicodex https://mcp.apicodex.io

Illustrative asks; the calls and prices are real. Claude, Cursor, VS Code and Windsurf setup: mcp.apicodex.io

Try it

Build the request for your data

Edit the parameters below and see the exact request and curl command you'd send. No key required to preview.

POST /receipt-parser/v1/parse/text
Open in Playground
Request · HTTP
POST /receipt-parser/v1/parse/text HTTP/1.1
Host: api.apicodex.io
Content-Type: application/json
X-Api-Key: YOUR_API_KEY

{
  "text": "COFFEE SHOP, 123 Main Street. 2025-05-13 09:30. Cappuccino Large 5.99. Chocolate Croissant x2 9.98. Subtotal 15.97, tax 1.44, tip 3.50. Total 17.41 VISA **** 1234."
}
Response · JSON 200 OK
{
"success": true,
"parsed_at": "2025-05-13T07:40:48.000Z",
"data": {
  "merchant": {
    "name": "COFFEE SHOP",
    "address": "123 Main Street, City, State 12345",
    "phone": "(555) 123-4567",
    "website": null,
    "tax_id": "987654321"
  },
  "transaction": {
    "receipt_no": "R-12345",
    "date": "2025-05-13",
    "time": "09:30:00",
    "payment_method": "CREDIT CARD",
    "card_info": "VISA **** 1234",
    "currency": "USD",
    "subtotal": 15.97,
    "tax_amount": 1.44,
    "tax_rate": 9,
    "total_amount": 17.41,
    "tip_amount": 3.5,
    "discount_amount": null
  },
  "items": [
    {
      "name": "Cappuccino Large",
      "quantity": 1,
      "unit_price": 5.99,
      "total_price": 5.99,
      "tax_info": null,
      "discount": null,
      "sku": null,
      "category": "Beverages"
    },
    {
      "name": "Chocolate Croissant",
      "quantity": 2,
      "unit_price": 4.99,
      "total_price": 9.98,
      "tax_info": null,
      "discount": null,
      "sku": null,
      "category": "Bakery"
    }
  ],
  "customer": {
    "name": null,
    "id": null,
    "membership": null
  },
  "additional_info": {
    "return_policy": "No returns on food items",
    "barcode": null,
    "cashier": "John D.",
    "store_no": "ST-45",
    "order_type": "Dine-in",
    "notes": "Thank you for your visit!"
  }
}
}

Documentation

Receipt Parser API Documentation

The Receipt Parser API provides comprehensive parsing and extraction of receipt data from various document formats. This documentation outlines how to effectively integrate and utilize the API for processing receipt documents, extracting expense data, and automating financial workflows.

Base URL

url
https://api.apicodex.io/receipt-parser

Authentication

Authenticate every request with your API key: send it in an X-Api-Key header, or pass it as an ?apikey= query parameter.

headers
{
"X-Api-Key": "YOUR_API_KEY"
}

Request and response

Illustrative values. Confirm current endpoint behavior, quotas, and data freshness in the API documentation before production use.

request · http
POST /receipt-parser/v1/parse/text HTTP/1.1
Host: api.apicodex.io
Content-Type: application/json
X-Api-Key: YOUR_API_KEY

{
  "text": "COFFEE SHOP, 123 Main Street. 2025-05-13 09:30. Cappuccino Large 5.99. Chocolate Croissant x2 9.98. Subtotal 15.97, tax 1.44, tip 3.50. Total 17.41 VISA **** 1234."
}
response · json
{
"success": true,
"parsed_at": "2025-05-13T07:40:48.000Z",
"data": {
  "merchant": {
    "name": "COFFEE SHOP",
    "address": "123 Main Street, City, State 12345",
    "phone": "(555) 123-4567",
    "website": null,
    "tax_id": "987654321"
  },
  "transaction": {
    "receipt_no": "R-12345",
    "date": "2025-05-13",
    "time": "09:30:00",
    "payment_method": "CREDIT CARD",
    "card_info": "VISA **** 1234",
    "currency": "USD",
    "subtotal": 15.97,
    "tax_amount": 1.44,
    "tax_rate": 9,
    "total_amount": 17.41,
    "tip_amount": 3.5,
    "discount_amount": null
  },
  "items": [
    {
      "name": "Cappuccino Large",
      "quantity": 1,
      "unit_price": 5.99,
      "total_price": 5.99,
      "tax_info": null,
      "discount": null,
      "sku": null,
      "category": "Beverages"
    },
    {
      "name": "Chocolate Croissant",
      "quantity": 2,
      "unit_price": 4.99,
      "total_price": 9.98,
      "tax_info": null,
      "discount": null,
      "sku": null,
      "category": "Bakery"
    }
  ],
  "customer": {
    "name": null,
    "id": null,
    "membership": null
  },
  "additional_info": {
    "return_policy": "No returns on food items",
    "barcode": null,
    "cashier": "John D.",
    "store_no": "ST-45",
    "order_type": "Dine-in",
    "notes": "Thank you for your visit!"
  }
}
}

Code examples

cURL
curl -X POST "https://api.apicodex.io/receipt-parser/v1/parse/upload" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -F "[email protected]"

Endpoints

POST /v1/parse/upload

Upload a PDF, JPEG, PNG or plain-text file (multipart/form-data, field name: file).

curl -X POST "https://api.apicodex.io/receipt-parser/v1/parse/upload" -H "X-Api-Key: YOUR_API_KEY" -F "[email protected]"

POST /v1/parse/url

Parse a document fetched from a public URL. JSON body: {"url": "https://..."}.

POST /v1/parse/text

Parse plain text. JSON body {"text": "..."}, or a text/plain body.

Pricing

Receipt Parser API Pricing

This API costs 25 credits per request. Credits are shared across every API on your plan.

Cost estimator

requests per month → cheapest plan that covers it

Estimate your monthly cost

Drag the slider to match your expected request volume. We'll recommend the cheapest plan that covers it.

10,000

Recommended plan

Starter

$29.99 /month

Credits used
Credits included
Cost per 1K requests
Choose Starter

Free

Free
1,000 credits · ~40 requests/mo · 2 rps
  • All APIs included
  • No credit card required
  • Full documentation and examples
  • MCP server for your AI agents
  • Up to 5 active API keys
Start for free

Starter

Popular
$29.99 /month
50,000 credits · ~2,000 requests/mo · 10 rps
  • All APIs included
  • Email support
  • Usage dashboard and analytics
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Starter

Pro

$99.99 /month
250,000 credits · ~10,000 requests/mo · 25 rps
  • All APIs included
  • Priority support
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Pro

Need a different plan?

Tell us about your API, volume, or support requirements.

Contact us

FAQ

Frequently asked questions

Ready to integrate Receipt Parser?