“Open API” Is Not a Border Crossing: The Interoperability Myth
Test data exit by export scope, throughput, schema, history and attachments. A worked rate-limit calculation shows why an API label alone does not prove portability.
The Rate-Limit Blockade
Consider an illustrative Divorce Scenario: a municipality needs to extract 500,000 case records. Suppose the tested endpoint returns one case per call and the applicable allowance is 1,000 calls per hour.
The sustained-rate calculation is:
500,000 cases x 1 call per case = 500,000 calls
500,000 calls / 1,000 calls per hour = 500 hours
500 hours / 24 hours per day = about 20.8 days nonstop
This is a throughput estimate at the stated sustained rate, before extra calls, failures or other bottlenecks. If every case’s attachments and history need separate requests, include those too. If the endpoint returns pages or supports bulk jobs, recalculate using that actual contract. Measure elapsed time in a trial, including the actual quota-window and burst behaviour.
The figures are constructed inputs, not a measurement of a particular supplier. API documentation is useful, but the exit deadline needs a demonstrated calculation and trial.
The Trap: The “Open” Mirage
“Open API” does not specify export coverage, throughput or how another system will interpret the records. Equally, it does not mean the service can only deliver one record at a time. Read the endpoints and test the route offered.
Inspect three possible constraints:
- Throughput: What limit applies to the tenant, credentials and endpoint? Which calls share it, and what volume fits the deadline? Rate limiting can be legitimate; it still belongs in the migration calculation.
- Fidelity: Does the route include the required versions, audit events, relationships, permissions and deletion markers, or only current records? Establish the required scope rather than assuming every internal table belongs in the export.
- Continuation: Can the job resume after failure without missing or duplicating records? Test checkpoints, pagination stability and records changing during the run. A well-designed API need not restart from zero.
HTTP’s 429 status identifies too many requests and may carry a retry delay. Respect the documented limit and recovery instructions. Parallel workers do not automatically multiply a shared allowance.
The Exit Strategy: The Database Dump Clause
Require an agreed export contract. A structured archive, supported database snapshot or API-based bulk job can be appropriate. A raw database dump is not automatically readable, safe for the correct tenant or sufficient for the receiving application.
Use three proposed acceptance requirements, tailored to the service:
- Delivery and consistency: Define the required dataset, authorised recipients, secure transfer, preparation time and completion deadline. Agree whether it represents a snapshot or needs an initial export plus subsequent changes. Test the expected volume. A 24-hour target is a requirement to negotiate and demonstrate, not a universal entitlement or a promise of unlimited bandwidth.
- Schema and meaning: Supply field definitions, stable identifiers, relationships, units, timezones and format versions. Include enough documentation to interpret history and audit events. Syntax alone is not a data model.
- Files and validation: Include required attachment bytes, linked versions and an inventory of what was delivered. Vendor-dependent URLs alone may expire or become inaccessible after termination. Check counts, file integrity, relationships and representative record histories in the receiving system.
Compare the same required scope through the available routes:
| Route | Capacity question | Completeness question |
|---|---|---|
| One-record API | Calls per record x records / permitted call rate? | Are files and history separate endpoints? |
| Paged or batch API | What page size, shared quota and continuation rules apply? | Are membership and changes consistent across pages? |
| Bulk job or snapshot | What preparation and download time is demonstrated? | Are all agreed records, relationships and files present? |
Run a representative export, interrupt and resume it, then restore enough into an independent reader or target system to check meaning and usability. Keep the measured volume, elapsed time and reconciliation results. Do not infer success from a completed download alone.
The exit route must fit the deadline and preserve the history the Citizen needs. A gate is useful when we can demonstrate the journey through it, whether the gate is called an API or a bulk export.
FAQs
What is the difference between an API and a Bulk Export?
An API can return individual records, pages, batches or asynchronous bulk exports. A bulk export packages an agreed dataset for transfer; it need not be a database dump. Assess completeness, consistency, documentation and throughput for either route.
Why do vendors limit API speeds?
Limits can protect capacity and fair use. Whatever their purpose, test whether they permit your required export volume and deadline. Ask about bulk facilities or an agreed temporary allowance rather than assuming a limit proves deliberate lock-in.
Does 'JSON format' guarantee we can use the data?
JSON provides syntax, not a business data dictionary. You still need field meanings, identifiers, relationships, units, timestamps and export coverage, plus evidence that the receiving system can use them.