Ready-made APIs for the tedious parts of your product
E-invoices, French e-reports, bank statements, OTA payouts, rent rolls, pay applications, VAT numbers, packaging EPR reports, CPSC eFiling certificates, PFAS reports, demurrage invoices, UK CARF reports, EU PPWR packaging checks, SEC fundamentals, business days, CSV imports, emails and screenshot diffs. One API key for your code or your AI agent, and a fixed price per call from $0.001/call.
$1 of usage free every month after sign-in, no card. Then pay as you go, or $9/month with $9 included.
curl https://api.kanagu.dev/v1/calendar/business-days \
-H "Content-Type: application/json" \
-d '{"country":"US","startDate":"2026-11-25","days":2}'const res = await fetch("https://api.kanagu.dev/v1/calendar/business-days", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.KANAGU_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"country": "US",
"startDate": "2026-11-25",
"days": 2
}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();claude mcp add --transport http kanagu https://api.kanagu.dev/mcp{
"country": "US",
"date": "2026-11-30"
}Products
18 APIs behind one key
Each product is a set of POST endpoints and MCP tools. Here is what goes in, what comes out, and what a real call returns.
- Input
- Invoice data as JSON, or invoice XML or a ZUGFeRD / Factur-X PDF
- Output
- XRechnung UBL or CII XML, a ZUGFeRD PDF/A-3, the KoSIT report, or parsed JSON
- For
- Billing and ERP developers who must issue e-invoices to German B2B customers
Example
→ {"xml":"<Invoice …>…</Invoice>"}
← {"valid":true,"validator":"KoSIT 1.6.3 / XRechnung 3.0.2 (2026-08-31)","issues":[]}- Input
- Platform ID, declarant SIREN and VAT regime, a date in the period, and transaction or payment rows as JSON, or Flux 10 XML to check
- Output
- Transactions and payments Flux 10 XML with its period and the source rows of each record, or errors and review items with rule, path and expected value
- For
- Plateformes Agréées (approved e-invoicing platforms) that transmit e-reporting data to the DGFiP for their clients
Example
→ {"platform":{"id":"0001","name":"Example PA"},"declarant":{"siren":"123456789","role":"seller","vatRegime":"normal_monthly","…":"name"},"reportingDate":"2026-09-15","transactions":[{"kind":"b2c","date":"2026-09-15","category":"TLB1","taxes":[{"rate":20,"taxableAmount":"32.00","vatAmount":"6.40"}],"…":"currency"}],"…":"reportId, createdAt, checkedAt"}
← {"valid":true,"lineCount":1,"reports":[{"kind":"transactions","period":{"start":"2026-09-11","end":"2026-09-20"},"xml":"<Report>…<TaxTotal>6.4</TaxTotal>…</Report>","…":"id, groups"}],"…":"issues, specification"}- Input
- A statement PDF as Base64 or a public URL
- Output
- Account, period, opening and closing balances, transactions, reconciliation and warnings
- For
- Bookkeeping and accounting software that imports client statements
Example
→ {"url":"https://…/statement.pdf"}
← {"layout":"wells_fargo_advantage_checking","transactions":[{"date":"2002-04-08","description":"Check #5254","amount":"-21.33"}],"reconciliation":{"status":"reconciled","difference":"0.00"},"needs_review":false}- Input
- Airbnb, Booking.com and Vrbo payout CSVs, one per OTA, and one bank account's CSV with its column meanings
- Output
- Each payout with its reservation lines, status and matched deposit, plus unmatched deposits, unallocated lines and adjustments
- For
- Short-term rental hosts and property managers who reconcile channel payouts every month
Example
→ {"otaReports":[{"csv":"Date,Type,Confirmation code,Reference code,…\n11/12/2026,Payout,,G-KANAGU001,USD,,194.00,…"}],"bankCsv":"Date,Amount,…\n2026-11-14,194.00,Payout,USD,G-KANAGU001,\"Airbnb Payments, Inc.\",COMPLETED","…":"bankColumns"}
← {"reservationCount":1,"payouts":[{"reference":"G-KANAGU001","expected":{"currency":"USD","amount":"194"},"status":"matched","match":{"method":"reference","amountDifference":"0","…":"deposit"},"…":"lines"}],"needs_review":false}- Input
- One property's rent roll and T12 operating statement as CSV, XLSX or JSON, with the snapshot date
- Output
- Occupancy, rent totals and lease expirations, the T12 lines by category, and match, discrepancy or needs_review for each rent line and month
- For
- Multifamily lenders, originators and underwriters who check a borrower's rent roll against the T12
Example
→ {"asOf":"2026-10-31","rentRoll":{"format":"csv","text":"Unit,Tenant,Status,…\n101,,Vacant,,,1500,,\n102,Lee,Occupied,2026-04-01,2027-03-31,1600,1550,0"},"t12":{"format":"json","…":"12 months of GPR, loss to lease, vacancy, concessions and rent collected"}}
← {"occupancy":{"totalUnits":2,"occupied":1,"physicalRate":0.5,"…":"economic occupancy by month"},"rents":{"inPlaceRent":1550,"lossToLease":50,"vacancyAtMarketRent":1500,"…":"market rent and concessions"},"comparisons":[{"month":"2026-10","field":"rentCollected","status":"match","expected":1550,"actual":1550,"…":"unit and GL rows"}],"needs_review":false}- Input
- The current G702 and G703 as one XLSX workbook, or a G702 summary with a G703 in JSON, CSV or XLSX, plus the prior certified application and change orders when you have them
- Output
- Findings by G702 line or G703 column and row with the expected and reported amounts, and the recalculated lines and summary
- For
- General contractors and subcontractors who prepare AIA pay applications every month
Example
→ {"current":{"summary":{"contractSumToDate":12000,"currentPaymentDue":4100,"…":"G702 lines 1 to 9"},"continuationSheet":{"format":"json","lines":[{"item":"03-100","scheduledValue":12000,"currentWork":3500,"storedMaterials":1000,"…":"columns D to H"}]}}}
← {"needs_review":false,"findings":[],"summary":{"currentPaymentDue":4100,"balanceToFinish":7900,"…":"every G702 line, recalculated"}}- Input
- A VAT number with its country prefix, and optionally your own VAT number
- Output
- valid, source registry, registered name and address where shared, consultation number, timestamps
- For
- Checkout and billing systems that apply the EU reverse charge to B2B customers
Example (illustrative values)
→ {"vatNumber":"DE143454214"}
← {"vatNumber":"DE143454214","valid":true,"source":"vies","rawStatus":"VALID"}- Input
- Packaging components per SKU (material, form, grams and attributes), shipments with destination and date, and a period
- Output
- Kilograms by category per state or for Germany, a per-SKU trail, CSV or LUCID XML, and the source and version of each rule set
- For
- E-commerce sellers who report packaging to state PROs or Germany's LUCID register
Example
→ {"period":{"start":"2025-01-01","end":"2025-12-31"},"states":["OR","CA"],"bom":[{"sku":"shirt-blue","components":[{"material":"corrugated cardboard","form":"consumer_box","gramsPerUnit":104.2,"…":"fiberSource, consumerUse and 4 more attributes"}]}],"shipments":[{"sku":"shirt-blue","destination":"OR","quantity":364,"returns":4,"date":"2025-06-24"}]}
← {"destination":"OR","totals":[{"category":"Corrugated Cardboard","kg":37.9288}],"needs_review":false}- Input
- CPC or GCC certificate data, a SKU ledger that links SKUs to certificates and model revisions, and the shipment lines of one CBP entry
- Output
- Findings per certificate and line with their source, Full PGA message set fields, Reference PGA fields, and Product Registry v3 CSV rows
- For
- US importers of record who must file certificate data with each entry from July 8, 2026
Example
→ {"certificates":[{"certificateId":"GCC-1042","type":"GCC","productId":"TL-HELM-01","productIdType":"SKU","…":"productName, manufacturer, labs and 6 more fields"}],"skuLedger":[{"sku":"TL-HELM-01","model":"TL-01","productId":"TL-HELM-01","certificateId":"GCC-1042","revision":"B","…":"revisionDate, category and hts"}],"shipmentLines":[{"entryLine":1,"hts":"6506103045","sku":"TL-HELM-01","model":"TL-01","quantity":480}],"registryCertifierId":"TRAILLINE"}
← {"lines":[{"sku":"TL-HELM-01","status":"checked","findings":[],"fullPgaHeader":[{"record":"PG01"}]}],"registryCsv":{"rows":[{"certificateId":"GCC-1042"}]}}- Input
- Products with their states, codes, dates, exemptions and per-component supplier PFAS declarations, and the assessment date
- Output
- A required, not required, not yet required, needs_review or pending determination per product and state, PRISM rows or Maine notification fields, deadlines and unresolved gaps with field paths
- For
- Manufacturers, importers and brands that sell products into Minnesota or Maine
Example
→ {"asOf":"2026-11-24","products":[{"name":"Battery lawnmower","statesSold":["MN","ME"],"components":[{"name":"Blade housing gasket","…":"supplier PFAS declaration"}],"…":"codes, dates and exemptions"}]}
← {"results":[{"state":"MN","obligation":{"status":"required"},"filingStatus":"ready","rows":[{"PFAS Name":"PTFE","PFAS Range":"90 to 100%","…":"PRISM columns"}],"reportingDeadlines":[{"kind":"new_product","date":"2027-02-01"}]},{"state":"ME","obligation":{"status":"not_required","code":"no_cuu"},"…":""}]}- Input
- Invoice fields, container milestones and blocked days, and the tariff or contract terms, for up to 100 invoices
- Output
- Status and payment obligation per invoice, a day-by-day recalculation, findings with their 46 CFR section, and a dispute letter
- For
- US importers and exporters who receive demurrage and detention invoices from ocean carriers and marine terminals
Example
→ {"invoices":[{"invoice":{"number":"DD-260529","issuer":"Harbor Shipping","chargeType":"demurrage","chargedDates":["2026-05-22","2026-05-23","2026-05-24","2026-05-25"],"amountCents":80000,"…":"the other 46 CFR 541.6 fields"},"…":"events, terms and evidence"}]}
← {"invoices":[{"status":"dispute_identified","calculation":{"chargeableDays":4,"amountCents":80000,"overchargeCents":0,"…":"charges per day"},"findings":[{"code":"charged_on_blocked_day","section":"46 CFR 545.5(c)(2)(i)","…":"location, expected, actual, source"}],"disputeLetter":"To Harbor Shipping (billing@example.com) …"}]}- Input
- Your RCASP ID, provider details and users with totals per asset as JSON, or CARF XML to check
- Output
- OECD CARF XML v1.5 with its filename, or errors and review items with path, line and source
- For
- Crypto exchanges, brokers and custodians that report to HMRC as UK reporting cryptoasset service providers
Example
→ {"rcaspId":"XRCASP000001234","reportingYear":2026,"…":"timestamp, messageSuffix and provider","users":[{"docSuffix":"user-42","record":{"kind":"individual","firstName":"Avery","lastName":"Carter","tins":[{"value":"AB123456C","issuedBy":"GB"}],"…":"birthDate, residence, address and Bitcoin totals"}}]}
← {"valid":true,"reportableUsers":1,"filename":"GB2026GB-XRCASP000001234-batch-1.xml","xml":"<CARF_OECD …>…</CARF_OECD>"}- Input
- Up to 50 packaging types with components, masses, materials, lab results, intended use and declaration details, and the placing-on-market date
- Output
- Each requirement with article, application date, status, the value checked and its evidence reference, the evidence still missing, and a draft Annex VIII declaration
- For
- Packaging manufacturers and converters that issue an EU declaration of conformity for each packaging type
Example
→ {"placementDate":"2026-11-24","packagingTypes":[{"id":"PE-FILM-184","intendedUse":{"kind":"sales","foodContact":true,"reusable":false},"components":[{"material":"plastic","massGrams":7.2,"heavyMetals":{"sumPpm":7,"report":"LAB-478-PAGE-2"},"…":"name and materialDetail"}],"…":"description and total fluorine result"}]}
← {"packagingId":"PE-FILM-184","requirements":[{"id":"heavy-metals","article":"Article 5(4)","status":"met","actual":"7 mg/kg","…":"date, location and evidence"},"… 84 more rows"]}- Input
- A CIK or ticker, XBRL concepts, fiscal periods and an as-of filing date
- Output
- The value known on that date, later revisions, and the form, accession and filing URL of each
- For
- Quant researchers who backtest on company fundamentals
Example
→ {"cik":"0000789019","concepts":[{"taxonomy":"us-gaap","tag":"NetIncomeLoss"}],"periods":[{"start":"2015-07-01","end":"2015-09-30"}],"asOf":"2016-04-20"}
← {"latest":{"filed":"2015-10-22","form":"10-Q","value":4620000000},"laterRevisions":[{"filed":"2016-04-21","form":"10-Q","value":4902000000}]}- Input
- A country or region, a start date or instant, and days or hours
- Output
- A business-day count, a target date, or a deadline instant with the skipped dates
- For
- Payments, logistics and support teams with SLAs in business days or hours
Example
→ {"country":"US","startDate":"2026-11-25","days":2}
← {"country":"US","date":"2026-11-30"}- Input
- CSV text or file bytes, plus the target columns and rules
- Output
- valid, detected format, diagnostics with row numbers, and a typed preview
- For
- SaaS products with a customer CSV import
Example
→ {"text":"invoice_id;issued_on;amount\n…","columns":["…"]}
← {"valid":false,"diagnostics":[{"code":"invalid_type","column":"issued_on","rows":[3]}]}- Input
- A raw email (.eml) as UTF-8 text or Base64 bytes
- Output
- Headers, addresses, subject, date, text and HTML bodies, attachments, thread IDs
- For
- Support, CRM and ticketing tools that ingest inbound email
Example
→ {"text":"From: Maya Chen <maya@example.com>\r\n…"}
← {"subject":"Re: Import window for December","thread":{"inReplyTo":["<import-window-1@example.net>"]}}- Input
- A URL and a second URL or a baseline ID, plus viewport, waits and masks
- Output
- Changed pixels, diff ratio, changed rectangles, and before, after and diff PNG links
- For
- Teams checking deploys, previews and marketing pages for visual regressions
Example (illustrative values)
→ {"url":"https://example.com/pricing","compareToUrl":"https://staging.example.com/pricing"}
← {"changedPixels":1832,"diffRatio":0.0019,"rectangles":[{"x":312,"y":940,"width":220,"height":48}]}How it works
One key, REST or MCP, pay per use
curl https://api.kanagu.dev/v1/calendar/business-days \
-H "Authorization: Bearer $KANAGU_KEY" \
-H "Content-Type: application/json" \
-d '{"country":"US","startDate":"2026-11-25","days":2}'const res = await fetch("https://api.kanagu.dev/v1/calendar/business-days", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.KANAGU_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"country": "US",
"startDate": "2026-11-25",
"days": 2
}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();claude mcp add --transport http kanagu https://api.kanagu.dev/mcp \
--header "Authorization: Bearer $KANAGU_KEY"{
"mcpServers": {
"kanagu": {
"url": "https://api.kanagu.dev/mcp",
"headers": {
"Authorization": "Bearer ${env:KANAGU_KEY}"
}
}
}
}claude mcp add --transport http kanagu https://api.kanagu.dev/mcpTry it
Run a real call now
Pick an operation, edit the sample and run it against the live API. No key needed for 10 calls a day.
Pricing
Start free, pay per call as you grow
The same per-call prices on every plan, and every plan includes every operation.
$0 / month
$1 of usage every month after you sign in with GitHub or Google. When it runs out, keyed calls pause until the next month.
- $1 of usage each UTC month
- No card needed
- Every operation over REST and MCP
- Failed calls are not billed
- Idempotent retries are billed once
$0 / month
Pay only for successful calls at each operation's listed price, from $0.001/call. Billed monthly.
- Every operation over REST and MCP
- Failed calls are not billed
- Idempotent retries are billed once
- Cancel any time
$9 / month
Includes $9 of usage every month. Beyond that, calls bill at the same listed prices.
- $9 of usage included each month
- Every operation over REST and MCP
- Failed calls are not billed
- Idempotent retries are billed once
- Cancel any time
Sign in, create a key and use $1 of calls free each month, no card needed. Subscribe from your dashboard when you need more. Polar is the merchant of record and handles payment, tax and invoices.
Price per operation
| Operation | Price |
|---|---|
| bankstatement.extract Extract and reconcile transactions from text PDFs for Wells Fargo Advantage Checking, Chase checking and Barclays bank accounts. | $0.12/page |
| calendar.business-days Count business days in [startDate, endDate) or add signed business days from startDate. Weekends and observed public holidays are excluded. | $0.001/call |
| calendar.deadline Calculate a deadline in local business days or hours and trace skipped dates. | $0.001/call |
| carf.correct Build a UK CARF XML v1.5 correction from prior accepted XML and replacement or deletion records. Up to 10,000 users. | $0.10/user |
| carf.generate Build UK HMRC CARF XML v1.5 from reportable users and transaction totals. Up to 10,000 users. | $0.10/user |
| carf.validate Check UK CARF XML v1.5 against the OECD XSD, HMRC file rules and supported TIN formats. Billed per user processed after XSD validation, up to 10,000. | $0.10/user |
| cpsc.check Check up to 200 CPC/GCC certificates against a SKU ledger and shipment lines. Prepare Full PGA fields and Product Registry v3 CSV rows with Reference PGA fields for use after certification (CPSC CATAIR v2.5). | $0.35/certificate |
| csv.check Check a CSV against a target schema and return diagnostics and a normalized preview. | $0.03/call |
| demurrage.audit Audit up to 100 U.S. demurrage or detention invoices against 46 CFR Part 541 (2026-11-20), recalculate charges and draft disputes. | $0.50/invoice |
| einvoice.generate Generate a KoSIT-validated XRechnung UBL or CII invoice, or a ZUGFeRD PDF/A-3. | $0.02/call |
| einvoice.parse Extract invoice parties, references, dates, amounts, and lines from XML or hybrid PDF. | $0.02/call |
| einvoice.validate Validate an invoice XML or a hybrid invoice PDF's XML against KoSIT rules. | $0.02/call |
| email.parse Parse an RFC 5322 email into headers, addresses, MIME bodies, attachments, and thread IDs. | $0.03/call |
| epr.de Calculate German packaging kilograms by VerpackG or VerpackDG material type for one LUCID system operator and period. Returns an audit trail, a CSV for mapped weights and LUCID XML for complete reports. Charges $0.50 per period when a file is produced. | $0.50/report |
| epr.us Calculate packaging kilograms by official OR, CO or CA category, or MD, MN or WA 2025 interim category. Automatic classification covers qualifying corrugated boxes, paperboard cartons, kraft fill and shipping mailers, PE mailers and bubble wrap, resin-marked PET and HDPE bottles or jars, qualifying HDPE pails in CA, PP tubs, glass bottles and jars outside deposit programs, aluminum or steel cans, molded pulp and EPS cushioning. Coverage and required BOM facts vary by state. Other components need a verified categoryByState or return needs_review with candidate categories. Charges $0.50 per state CSV produced. | $0.50/report |
| frereporting.generate Generate DGFiP v3.2 Flux 10 XML for B2C, cross-border B2B and service receipts. The minimum charge covers 100 input rows. | $0.10/100 lines |
| frereporting.validate Check DGFiP v3.2 Flux 10 XML against the published XSD and reporting rules. The minimum charge covers 100 reported rows. | $0.10/100 lines |
| otapayout.reconcile Reconcile Airbnb Earnings, Booking.com Reconciliation API v1, and Vrbo payout CSVs with bank deposits. Confirm only completed bank credits from a documented OTA payer with an exact transfer reference and agreeing currency, amount, and date. Maximum 100 distinct reservations per call. | $0.30/100 reservations |
| payapp.check Reconcile an AIA G702/G703 (1992) pay application from one workbook or a JSON summary with up to 500 JSON, CSV, or XLSX line items per period. PDF is unsupported. | $0.50/application |
| pfas.report Assess Minnesota PFAS reporting and Maine CUU notifications. Prepare PRISM or MELS entries, determine MDA registration and licensing statements and deadlines, and flag evidence gaps. Charges apply to required, not required, and not yet required determinations. Up to 500 product-state pairs. | $0.25/product-state pair |
| ppwr.assess Check reported PPWR metals, PFAS, recyclability grades, recycled content, empty space and Annex VIII fields for up to 50 packaging types. List further obligations and evidence. | $0.50/packaging type |
| rentroll.reconcile Reconcile a property rent roll of up to 500 units against one T12 statement. Accepts CSV, XLSX or JSON and returns occupancy, lease expirations, and discrepancies with source rows. | $0.50/reconciliation |
| screenshot.diff Compare public web pages or a stored screenshot baseline at a fixed viewport. | $0.01/call |
| vat.audit Retrieve completed VAT verifications and their consultation numbers for your account. | $0.03/call |
| vat.verify Verify an EU or UK VAT number and return audit evidence. Upstream failures are unbilled. | $0.03/call |
| xbrl.asof Get SEC EDGAR XBRL values as of an inclusive filing date, with later value changes and source filings. Covers entity-wide facts from standard taxonomies. | $0.08/call |
| xbrl.history Trace every SEC EDGAR filing version of one XBRL concept by exact fiscal dates and unit, including unchanged repeats and source filings. | $0.08/call |
FAQ
Questions developers ask
- Do I need an account to try it?
- No. Every operation that does not read account data can be called without a key, 10 times per IP per UTC day, shared by REST and MCP.
- Is there a free tier?
- Yes. Sign in with GitHub or Google and every account gets $1 of keyed usage each UTC month, with no card. When it runs out, keyed calls return 402 until the next month or until you subscribe.
- How does billing work?
- After the free usage, each successful keyed call is billed at the price listed beside its operation. Subscribe from your dashboard: pay as you go has no monthly fee; the Bundle costs $9 a month and includes $9 of usage. Polar is the merchant of record.
- Am I billed for errors?
- No. Calls that return an error are not billed, and a retry with the same Idempotency-Key within 30 days returns the first result and is billed once.
- Can my AI agent use it?
- Yes. Add the MCP server at https://api.kanagu.dev/mcp. Every operation is a tool with the same name, schema and price. Agents can also read /llms.txt and each docs page as Markdown.
- What happens to the data I send?
- Inputs are processed in memory. For keyed calls the result is kept for 30 days for idempotent retries, then deleted. The privacy policy lists every record and processor.
Start with a free call, keep the key when it works
Every operation is documented with its schema, price and examples.