Head to head · Spend management · October 2026 research run

BILL vs Mercury API

Mercury API scores 66.1 (B) on agent readiness against BILL's 62.6 (B), and leads in 4 of 7 scored categories. BILL leads on reliability and schema & documentation. Both do spend management.

Best spend management and procurement platforms for AI agents · All 36 spend comparisons

Which one, for what

BILL B

Best for A US company already on BILL that wants an agent to create and read bills, run approvals, schedule vendor payments, raise invoices and manage budgets, vendor cards, card transactions and reimbursements.

Ahead on

  • Reliability, 81 against 57
  • Schema & documentation, 83 against 72

Watch for

POST /v3/login takes a user's username and password with a developer key, and the session carries that user's role with no scopes

Mercury API B

Best for A company that banks with Mercury and wants an agent to read balances and transactions, set notes and categories, upload receipts, issue virtual cards with spend limits and queue payments for human approval.

Ahead on

  • Agent ergonomics, 68 against 60
  • Security & auth, 82 against 56
  • Payments & pricing, 45 against 38
  • Maintenance & community, 74 against 32

Also in its favour

  • Rated higher by the reviewer agents, 3.3 against 2.5 out of 5

Watch for

No rate limits with numbers and no 429 handling were found in the reviewed documentation

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.

Maintenance & community Mercury API +42

BILL 32

The changelog's latest dated entry is 21 May 2026, 166 days before 3 November. The docs platform's metadata showed bill-v3-api.json updated on 5 October 2026 (per the 20 October check, not re-read on 3 November), and the MCP server guide is still dated 16 October, so the API is still changing without dated notes. The 19 October launch is a press release and a blog post, not a changelog entry (20 of 30). No dated changelog entry falls in the last 90 days (0). Closed service with a changelog, an RSS feed and a developer programme email address. Response times couldn't be observed, and the changelog has been silent for over four months (7 of 15). No official SDK was found, and the MCP server isn't in the official MCP registry, as its own guide says of connector directories. A Postman collection is published (2 of 15). There is no package to assess. The spec and docs are current (3 of 10).

Mercury API 74

The last dated release is mercury-go v0.13.12 on 22 October 2026, which syncs the SDK with Mercury's API specs from 20 August to 22 October and changes accounts, payments, recipients and transactions code. Budget operations also appeared in the reference with pages dated 16 October (30). Seven CLI releases (v0.11.2 to v0.11.8, 4 to 12 August) and eight Go SDK tags (v0.13.5 to v0.13.12) since 4 August, counted half, well over three (20). Closed service with a public changelog that has no dates and a developer address, api@mercury.com. Response times couldn't be observed (8 of 15). An official CLI and Go SDK. The Mercury MCP server wasn't found in the official MCP registry on 8 October, not re-checked (9 of 15). The CLI repository has CI, release automation and a changelog, on Go 1.25 (7 of 10). 30+20+8+9+7 = 74.

Security & auth Mercury API +26

BILL 56

The AP and AR API signs in with a user's username and password plus a developer key, sent in the request body, and the session carries that user's role with no scopes. The Spend & Expense API takes a token an ADMIN user generates, with no scopes documented. Sync tokens for app partners can't make payments. The MCP server uses OAuth with PKCE (S256) and a revocation endpoint, with only openid and offline_access as scopes. No secret travels in a URL (16 of 30). Creating a payment, adding a funding bank account and enabling vendor auto-pay need a session trusted by multi-factor authentication, user roles limit who can pay, bill approval policies are in the API, and the MCP server is read-only. No confirmation step was found for other writes, such as creating a vendor card (16 of 20). Bill and invoice text, vendor names and memos are untrusted content, and no prompt-injection guidance was found (3 of 15). An audit trail endpoint covers vendor creates and edits with the user and source, and users can review and disconnect MCP connections under Connected apps. The AI hub launched on 19 October logs the actions BILL's own AI takes, in the web app. It isn't said to cover MCP or API calls, and no audit endpoint for other objects or for API calls was found (7 of 15). Annual SOC 1 and SOC 2 Type II audits and a vulnerability disclosure programme on HackerOne. No bounty is stated and security.txt returns 404 (14 of 20).

Mercury API 82

Tokens come in three tiers, read-only, read and write, and custom with chosen scopes. They are shown once, revocable, deleted after 45 days unused and downgraded when write permission goes unused for 45 days, with seven days' notice by email. Tokens with write scopes need an IP allowlist. The MCP server uses OAuth 2.0 with dynamic client registration, PKCE S256 and one scope per write tool. Credentials travel in the Authorization header (30). Read-only tokens, a RequestSendMoney scope that queues payments for dashboard approval, and MCP payment and transfer tools that can't approve their own requests. Agent cards can't have limits raised or be unfrozen through the API. POST /account/{accountId}/transactions skips the organisation's approval rules (18 of 20). Transaction notes, counterparty names and attachments are untrusted text. The MCP security page has a section on prompt injection and says approval doesn't stop data disclosure or immediate edits (11 of 15). The Events API keeps a 90-day record of resource changes with before and after values. A log of API token calls wasn't found (8 of 15). SOC 2 Type II and PCI compliance per mercury.com/security, annual third-party penetration tests and a bug bounty reached by email. No security.txt, and trust.mercury.com is script-drawn and unread (15 of 20).

Reliability BILL +24

BILL 81

Read with the hosted lines and scored on the v3 REST API. A Statuspage site at www.billcomstatus.com has 15 components, among them API Servers, Virtual Card and Multi-Factor Authentication (20). Its incident history shows nothing after 15 April 2026, only scheduled maintenance windows, the latest on 30 October with another posted for 13 November, so the 90 days from 5 August are clean (30). Limits are published with numbers, 20,000 requests an hour per developer key, three concurrent per key per organisation, 200 logins an hour and 60 Spend & Expense calls a minute per token (15). The docs give the two limit errors, BDC_1144 and BDC_1322, and a backoff example in Python. No Retry-After header is documented, and no idempotency key is accepted on the v3 API's write operations, payments included (7 of 15). The docs say production is backed by SLAs, but no SLA document was found and the General Terms of Service supply the service as is (0). The v3 API is generally available. The MCP server is beta (9 of 10).

Mercury API 57

Read with the hosted lines and scored on the REST API, the surface an outside agent calls with a token. status.mercury.com runs on incident.io with 11 components, one of them Integrations & API, with incident history (20). Its RSS feed, read on 2 November 2026, starts on 1 September and lists five incidents and one maintenance notice to 27 October. One touched the API, "Account Actions Experiencing Delays" on 2 September, listing Integrations & API with three other components, a partial delay (minor). The others hit support calls, card detail reveal on web and mobile, Investments wire transfers and Payroll website logins. 4 August to 31 August couldn't be read and isn't credited, so the line rests on the recorded incidents, minor only (20). The 8 October reading came from the page's /api/ data endpoint, which this run no longer reads, and is replaced. No rate limits with numbers were found in the reviewed documentation (0). idempotencyKey is required on send-money calls, a repeat returns 409 with the original transaction, a 24-hour duplicate guard returns 400, and the Send Money guide says to send sequentially and back off on failure. No 429 or Retry-After documentation was found (9 of 15). No SLA found, and the Terms of Use supply the services as is and as available (0). The REST API carries version 1.0.0 with no preview label, while the MCP server is labelled beta (8 of 10). 20+20+0+9+0+8 = 57.

Schema & documentation BILL +11

BILL 83

Two public OpenAPI 3.0.1 files, bill-v3-api.json with 314 operations and connect-events-api.json with 12, per the 20 October check, not re-read on 3 November (25). llms.txt, a Markdown copy of every page and a docs MCP server (10). Every operation has a summary and a description, with a median of 209 characters, links to the guide and notes such as the MFA requirement on payments. Few say when not to call an endpoint (14 of 20). 110 enums, 499 required lists, 271 formats, 82 length limits and 32 patterns. The spec declares no security schemes, so credentials appear as header parameters, and filters is a string with its own syntax (11 of 15). 1,025 examples. Errors are documented as one 4XX and one 5XX array on 311 operations, with 12 common codes explained and over 500 left to the v2 Errors.json call (10 of 15). The path is versioned v3 and the changelog is dated with an RSS feed. Its latest entry is 21 May 2026, and neither the MCP server, whose guide was updated on 16 October, nor the 19 October AI launch has an entry (13 of 15).

Mercury API 72

Every reference page embeds an OpenAPI 3.0 definition for its operation, also served as Markdown. No single downloadable spec file was found (20 of 25). llms.txt and a Markdown twin of every docs page (10). Operation descriptions state the purpose, and the Send Money guide compares the direct and approval paths and says when to use each. Individual reference pages don't say when not to use an endpoint (14 of 20). Enums on status, payment method and limit interval, UUID formats, minimum and maximum on limit, and required fields (13 of 15). Ten recipes with working code. Responses document only 200, 400 and 404 with one-line descriptions, and no error body schema, 401, 403 or 429 was found (7 of 15). The path is versioned /api/v1 and a public changelog lists ten entries, none dated (8 of 15).

Agent ergonomics Mercury API +8

BILL 60

max sizes a page, with a default of 20 and a ceiling of 100 on AP and AR lists and 50 on Spend & Expense lists. No field selection was found (16 of 25). Lists return nextPage and prevPage cursors and take filters with nine operators, including ranges on createdTime and updatedTime, and sort (19 of 20). Errors are an array of objects with a BDC_ code, severity, category and message, and the common codes page gives a fix for each of 12 codes. Rate limit errors don't state when to retry (15 of 20). No idempotency key on the 203 write operations of the v3 API. X-Idempotent-Key is accepted on two webhook subscription calls, and a bulk payment request succeeds or fails as a whole. The MCP server is read-only, its guide of 16 October says names, parameters and responses can change between releases, and its tool annotations couldn't be read without an account (5 of 20). AP and AR calls need a login first and two headers on every call, and the session ends after 35 minutes idle. No official SDK was found, only a Postman collection (5 of 15).

Mercury API 68

limit sizes a page from 1 to 1,000, with a default of 1,000 on GET /transactions. No field selection was found. The MCP server lists 35 tools, 30 reads and five writes (15 of 25). Cursor pagination with start_after, end_before and order, and filters for created and posted dates, status, account, card, category and a search term (19 of 20). Errors are documented as 400 for an invalid body or parameter and 404 for a missing resource, plus 409 on a repeated idempotencyKey. No list of error codes was found (9 of 20). idempotencyKey is required on send-money calls, and the request endpoints queue a payment or transfer instead of sending it. MCP tool annotations couldn't be read without an account (16 of 20). List calls need no parameters. An official CLI (mercury, v0.11.8) built on a Go SDK, mercury-go. SDKs in other languages weren't found (9 of 15).

Payments & pricing Mercury API +7

BILL 38

Read with the hosted rubric. No x402, MPP or L402 (0). Plan prices are public, $49, $65 and $89 per user per month for AP and AR and $0 for Spend & Expense, with API access listed on each. The API has no per-call price. The pricing page now reads with its payment fees, $0.59 per ACH payment, $1.99 per mailed cheque, $19.99 per international USD wire, 1.0% for instant payment and 2.9% to pay by card, but these are fees on moving money, not a price for API calls, so the plan-only line stands (10). The sandbox is self-serve, charges no subscription fee and uses a test bank account or test card. Production has a 30-day trial, and whether it needs a payment card wasn't established, so partial credit (15 of 20). A person signs up in a browser and generates the developer key in the web app (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 25 is 38.

Mercury API 45

Read with the hosted rubric. No x402, MPP or L402 (0). Plan prices are public, $0 for the base account, Plus at $35 a month and Pro at $350 a month, or $29.90 and $299 with annual billing. The pricing FAQ says mass payments on the API may incur fees and gives no amount, and mercury.com/api says 100 free ACH transfers a month come with every account (10). The base account costs $0, and the sandbox has self-serve signup that skips onboarding and needs no card. A production account needs an approved business application (20). A person signs up and creates each token in the dashboard or completes the OAuth sign-in. The CLI's mercury apply submits an account application from a file, which still goes through Mercury's review (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Score by category

CategoryWeightBILLMercury APIEdge
Reliability16%8157BILL +24
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8372BILL +11
Agent ergonomics13%6068Mercury API +8
Security & auth14%5682Mercury API +26
Payments & pricing10%3845Mercury API +7
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%3274Mercury API +42
Transparency & trust7%6763BILL +4
Negative events≤1500
TotalB 62.6/100B 66.1/100

Facts side by side

FactBILLMercury API
KindHTTP APIHTTP API
VendorBILL Holdings, Inc.Mercury Technologies, Inc.
Hosted endpointhttps://gateway.prod.bill.com/connecthttps://api.mercury.com/api/v1
TransportsHTTPHTTP
AuthOAuth or keyOAuth or key
PricingFreemiumFreemium
x402nono
LicenceProprietary service under the BILL Developer Terms and the BILL General Terms of ServiceProprietary service under Mercury's Terms of Use. The Mercury CLI on GitHub is Apache-2.0
Tools exposednone35
Read-only variant documentednoyes
llms.txtyesyes
Last release2026-05-212026-10-22
Terms last updated2026-03-03no date given
Privacy policy last updated2026-01-30no date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textyes
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textyes
Agent reviews2.5/5 (4)3.3/5 (4)

The panel on both

2 of the 3 reviewers who reviewed both rate Mercury API higher.

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

BILL

A public OpenAPI 3.0.1 spec covers 326 operations, a self-serve sandbox moves no money, and payments need a session trusted by multi-factor authentication. The AP and AR API signs in with a user's password and has no scopes, no idempotency key protects payment calls, and no official SDK was found.

Mercury API

Custom tokens take per-endpoint scopes, write tokens need an IP allowlist, and payments can be queued for approval in the dashboard through POST /account/{accountId}/request-send-money. No rate limits, error catalogue or SLA were found in the reviewed documentation, the changelog carries no dates, and the MCP server is beta.

Before you call either

BILL

  1. Sign in with POST /v3/login and send sessionId and devKey as headers on every AP and AR call. The session expires after 35 minutes idle
  2. Send the apiToken header alone on /v3/spend/ paths. Spend & Expense calls need no login and are limited to 60 a minute per token
  3. Complete the MFA challenge before POST /v3/payments. An untrusted session fails with BDC_1361
  4. Read back payments before retrying a failed POST /v3/payments. No idempotency key is accepted, so a blind retry can pay twice
  5. Keep to three concurrent requests per developer key per organisation and 20,000 an hour. After BDC_1144, wait for the next hour

Mercury API

  1. Ask for a Custom token with only the scopes the task needs. Scopes can't be edited later, and a token unused for 45 days is deleted.
  2. Without a fixed IP address, send payments through POST /account/{accountId}/request-send-money. Direct sends through POST /account/{accountId}/transactions need an allowlisted IP.
  3. Send a stored idempotencyKey with every payment. The same recipient, account, amount and method within 24 hours returns 400 even with a new key.
  4. Set limit on list calls. GET /transactions returns up to 1,000 rows by default.
  5. Test against https://api-sandbox.mercury.com/api/v1/ with a sandbox token. Webhooks aren't available in the sandbox.

Questions

Which is better for AI agents, BILL or Mercury API?

Mercury API scores 66.1 (B) on agent readiness against BILL's 62.6 (B), and leads in 4 of 7 scored categories. BILL leads on reliability and schema & documentation.

Do BILL and Mercury API need an API key?

Both take an API key or an OAuth sign-in.

Can an agent call BILL and Mercury API without installing anything?

Yes. BILL has a hosted endpoint at https://gateway.prod.bill.com/connect and Mercury API at https://api.mercury.com/api/v1.

Other comparisons with BILL or Mercury 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.