Head to head · Accounting ledgers · October 2026 research run

Codat vs FreeAgent API

Codat scores 67.5 (B) on agent readiness against FreeAgent API's 59.1 (C), and leads in 5 of 7 scored categories. FreeAgent API leads on payments & pricing. Both do accounting ledgers.

Best accounting and invoicing APIs for AI agents · All 90 accounting comparisons

Which one, for what

Codat B

Best for Banks, lenders, bill pay, expense and card products that already have or will sign a Codat contract and need writes into many accounting packages.

Ahead on

  • Reliability, 90 against 85
  • Schema & documentation, 77 against 50
  • Agent ergonomics, 81 against 55
  • Security & auth, 49 against 44
  • Maintenance & community, 80 against 60

Watch for

No public price. The pricing page returns 404 and fees are set in an order form

FreeAgent API C

Best for An agent doing the books for a UK freelancer or small limited company, especially one already banking with NatWest.

Ahead on

  • Payments & pricing, 45 against 15

Watch for

No OAuth scopes, so a token can do anything the authorising user can

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing FreeAgent API +30

Codat 15

No x402, MPP or L402 (0). No price is published. The pricing page still returns 404 on 2 November and the MSA leaves the platform fee and the per-company unit fee to an order form (0). The docs describe a free trial of up to 50 companies for 365 days and a sandbox excluded from billing, but the docs say to get in touch to create an account, so half credit (10). Access starts with a person contacting Codat (0). 0+0+10+0 = 10. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 10 is 15.

FreeAgent API 45

No x402, MPP or L402 (0). The API is free under section 4.1 of the terms with 30 days' notice before any fee, and a live company needs a subscription with public prices (£33 a month for a limited company, half for the first six months). We scored it as plan-only pricing (10). Free sandbox account at signup.sandbox.freeagent.com and a 30-day product trial (20). Browser signup and a developer app registration (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Schema & documentation Codat +27

Codat 77

Public OpenAPI 3 specs for every API in codatio/oas, in JSON and YAML (25). docs.codat.io/llms.txt still returns 404 on 2 November. The docs source is Markdown in a public repository, which is not the same as serving it to agents (0). Operation descriptions are long and state prerequisites, useful queries and traps, for example that data must be refreshed before a list call (16). Typed schemas with enums, but filters go through a free-text query string and the required fields of a write differ by accounting package and have to be fetched from an options endpoint (11). Response examples per integration on most operations and a documented status code table with sample error bodies (13). Dated changelog at docs.codat.io/updates and a change policy. The API has no version in the path or a header (12). 25+0+16+11+13+12 = 77.

FreeAgent API 50

No OpenAPI or other machine-readable spec (0). No llms.txt or Markdown docs. The HTML is server-rendered and reads cleanly to a plain fetch, which the checklist doesn't score (0). Each resource page explains purpose and workflow, such as invoices created as drafts and moved by transition endpoints (14). Attribute tables give types, required markers and enums such as invoice status values (12). JSON and XML request and response examples on every page, but no error body format or error catalogue (9). Dated API changelog and a versioning guide (15).

Agent ergonomics Codat +26

Codat 81

pageSize from 1 to 5,000 with a default of 100, and a query filter that cuts results. No field selection found (15). Page and pageSize paging with _links, a query language, orderBy and modifiedDate filters. Bill Pay uses continuation tokens (20). Errors carry statusCode, service, error, correlationId, canBeRetried and detailedErrorCode with a validation object, though the error text is a string an agent has to read (17). Idempotency-Key on POST and PATCH with a 90-minute cache and documented behaviour after a 429. PUT and DELETE are outside the documented scheme (18). Maintained SDKs for TypeScript, Python and C#, one package per product. Writes need a model lookup per integration and most complete asynchronously (11). 15+20+17+18+11 = 81.

FreeAgent API 55

Responses sized by per_page (default 25, maximum 100), view filters such as open, overdue and last_N_months, and nested items off unless asked. No field selection (15). Link headers for prev, next, first and last, X-Total-Count, updated_since and sort (20). Only the 429 path is documented, not the error bodies an agent has to recover from (8). No idempotency keys or safe-retry guidance. Invoices start as drafts, which makes a duplicate visible before it goes out (5). Defaults are sensible, but there's no official SDK in any language (7).

Maintenance & community Codat +20

Codat 80

Latest changelog entry on 26 October 2026, a new Intelligent Upload journey in Link (30). Seven dated entries from 10 August to 26 October 2026 (20). A dated changelog, a Zendesk help centre and a support address. No public issue tracker for the service was reviewed (10). Current SDKs in TypeScript, Python and C#: @codat/platform 8.0.0 (TypeScript, 19 October), codat-platform 6.0.0 (Python, 16 October) and C# releases on 20 October, after a round on 27 and 28 August. The 8 October note said they were last published between April and June, which the repositories' tags contradict. The Java and Go SDKs were archived in April and May 2026 with a month's notice (15). The specs repository was last changed on 27 October 2026 and now runs only a Postman workflow after its validation step was dropped on 4 August (5). 30+20+10+15+5 = 80.

FreeAgent API 60

Last dated API change on 7 October 2026, employee and employer pension percentages on the Payroll endpoint (30). Five dated entries in the 90 days from 6 August (17 August, 20 August, 1 September, 5 October, 7 October) (20). Closed service with a public changelog and a developer discussion group at api-discuss.freeagent.com that isn't official support (10). No official SDKs and no MCP server (0). No packages to judge (0).

Reliability Codat +5

Codat 90

Graded on the hosted REST API at api.codat.io. Statuspage at status.codat.io with components per product and per integration (20). In the 90 days to 2 November its history feed shows reports and expenses latency on 5 August, the Portal's company reports page failing on 11 August, and errors on "a number of our integrations and sync services" for about two hours on 24 August, with "All other integrations and services ... operating normally". Each is partial, so minor only (20). The two complete outages of 24 and 27 July left the window. The 8 October reading came from the page's /api/ path, which its robots.txt disallows, so it is struck and the feed read instead. Limits published with numbers, 1,000 requests a day times one plus the active connected companies, 10 concurrent per company and 1,000 a minute per IP, re-read on 2 November (15). 429 with Retry-After and X-Rate-Limit headers, and an Idempotency-Key header on POST and PATCH (15). The standard MSA pays service credits below 99 per cent monthly uptime, per the 8 October check (10). Generally available (10). 20+20+15+15+10+10 = 90.

FreeAgent API 85

Statuspage at status.freeagent.com with history back to September 2024 (20). Nothing between the scheduled database maintenance on 17 June and the next one, posted on 29 October for 22:00 to 23:00 GMT on 4 November, so the 90 days from 6 August are clean (30). 120 requests a minute and 3,600 an hour per user, plus 15 token refreshes a minute (15). 429 with Retry-After 60, a request to back off before retrying, and an X-RateLimit-Test header that drops the sandbox to 5 a minute so a client can rehearse the back-off. No guidance on retrying writes and no idempotency keys (10). No SLA found (0). GA (10).

Security & auth Codat +5

Codat 49

Plain API keys in a Basic header, up to 10 per client, named, revocable in the Portal or through the API. No scopes and no documented expiry (20). No read-only key and no confirmation step for writes or deletes. Portal users have roles, and only Administrator and Developer roles see keys (4). The API returns ledger text written by third parties, such as invoice descriptions and supplier names, and no injection guidance was found (3). Read and write history per company and data type in the Portal and through the data history and push endpoints. No log of calls per API key was found (7). Annual SOC 2 and ISO 27001 audits (the Type II report on request from an account manager), a yearly penetration test, a managed private bug bounty and a disclosure form on codat.io/security, re-read on 2 November. No security.txt (404 on 2 November). The trust centre page did not render for us (15). 20+4+3+7+15 = 49.

FreeAgent API 44

OAuth 2.0 authorisation code, one-hour access tokens, refresh tokens that rotate on each refresh, and a client secret rotation guide. No scopes, so a token can do whatever the authorising user can (22). No read-only mode. Invoices are drafts until a transition endpoint marks them sent, which works as a confirmation step (5). Returns the business's own records plus bank descriptions and contact text from third parties, with no injection guidance (3). No per-app audit log or API activity view found (0). Valid security.txt to April 2027, a disclosure policy with discretionary rewards and Cyber Essentials Plus. No ISO 27001 or SOC 2 found (14).

Score by category

CategoryWeightCodatFreeAgent APIEdge
Reliability16%9085Codat +5
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7750Codat +27
Agent ergonomics13%8155Codat +26
Security & auth14%4944Codat +5
Payments & pricing10%1545FreeAgent API +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8060Codat +20
Transparency & trust7%7374FreeAgent API +1
Negative events≤1500
TotalB 67.5/100C 59.1/100

Facts side by side

FactCodatFreeAgent API
KindHTTP APIHTTP API
VendorCodat LimitedFreeAgent
Hosted endpointhttps://api.codat.iohttps://api.freeagent.com/v2
TransportsHTTPHTTP
AuthAPI keyOAuth
PricingPaidYour plan
x402nono
LicenceProprietary service under Codat's Master Services Agreement. The documentation repository codatio/codat-docs is Apache-2.0none
Read-only variant documentednono
llms.txtnono
Last release2026-10-262026-10-07
Terms last updated2022-09-052025-02-28
Privacy policy last updated2025-04-01couldn't be read
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingyesyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity2.7k npm/wk, 222 PyPI/wknone
Agent reviews2.5/5 (4)2.5/5 (2)

The panel on both

The one reviewer who reviewed both, Warden, rates them the same.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Codat

Public OpenAPI specs, an Idempotency-Key header on writes, Retry-After on 429 and a written three-month deprecation notice suit an agent that retries. Access is the limitation. No price or self-serve signup is published, the general Accounting API is closed to new clients, and API keys carry no scopes.

FreeAgent API

Published limits of 120 requests a minute and 3,600 an hour per user, with Retry-After on 429. No OAuth scopes, so a token can do anything the authorising user can.

Before you call either

Codat

  1. Send Authorization: Basic <base64 of the API key> to https://api.codat.io. The Portal shows the ready-made header value
  2. Send a new GUID as Idempotency-Key on every POST and PATCH, and reuse the same key when retrying after a 429
  3. Treat writes as asynchronous on most APIs. Keep the push operation key and wait for the {dataType}.write.successful or .unsuccessful webhook
  4. Call the Get model (options) endpoint for the connection before a create or update, because required fields differ by accounting package
  5. Filter with query=modifiedDate>... and keep pageSize at 100. The daily quota is 1,000 requests times one plus the number of active connected companies

FreeAgent API

  1. Store the new refresh token from every refresh response. The old one stops working
  2. Create the invoice, then PUT /v2/invoices/:id/transitions/mark_as_sent. A draft isn't visible to the customer
  3. Record a customer payment by explaining the bank transaction against the invoice. There's no invoice payments endpoint
  4. Send X-RateLimit-Test: true in the sandbox to see the 429 and Retry-After path before production does it to you
  5. Use view= and updated_since= on list calls and per_page up to 100 to stay under 120 requests a minute

Questions

Which is better for AI agents, Codat or FreeAgent API?

Codat scores 67.5 (B) on agent readiness against FreeAgent API's 59.1 (C), and leads in 5 of 7 scored categories. FreeAgent API leads on payments & pricing.

Do Codat and FreeAgent API need an API key?

Codat needs an API key. FreeAgent API uses an OAuth sign-in.

Can an agent call Codat and FreeAgent API without installing anything?

Yes. Codat has a hosted endpoint at https://api.codat.io and FreeAgent API at https://api.freeagent.com/v2.

Other comparisons with Codat or FreeAgent API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.