Test DataPublic API
What The Commit
Random commit message generator
Before you call it
What this listing means in practice
No key to obtain
You can make a request immediately. Be considerate with volume anyway: open APIs often publish informal rate limits, and some will block clients that hammer them.
Listed as HTTP only
Prefer a provider endpoint with TLS before shipping this to production. Calling over plain HTTP exposes request and response data in transit.
CORS enabled
The provider sends browser-friendly CORS headers, so you can call the API from client-side JavaScript without a proxy — subject to any key restrictions.
Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.
http://whatthecommit.com/index.txtNo API calls are proxied by this directory. Links go directly to the provider.
API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.
Overview
About What The Commit
What The Commit needs no API key. That puts it among 31 of the 37 test data APIs we list that you can try without signing up.
CORS is enabled, so a frontend can call it directly.
Documentation is on whatthecommit.com.
Test Data APIs in general
Test data APIs return fake but realistic data: users, addresses, posts, images and products. Perfect for prototypes and tests.
What people build with them
- Filling a UI prototype with realistic content
- Seeding a development database
- Testing HTTP clients
Watch out for
Do not depend on a public fake-data API inside automated tests. Record responses once and replay them.
First request
Calling What The Commit
Works in the browser or in Node.
JavaScript// Replace the path with an endpoint from the What The Commit docs
const res = await fetch("http://whatthecommit.com/index.txt/<endpoint>");
if (!res.ok) throw new Error(`What The Commit returned ${res.status}`);
const data = await res.json();Compare
What The Commit vs similar APIs
| API | Auth | HTTPS | CORS |
|---|---|---|---|
| What The Commit | No key | No | Yes |
| loremfile | No key | Yes | Yes |
| flaky | No key | Yes | Yes |
| FakerAPI | No key | Yes | Yes |
| DummyJSON | No key | Yes | Yes |
| AddressMock | No key | Yes | Yes |
FAQ
Common questions about What The Commit
Does What The Commit need an API key?
No. What The Commit is listed with no authentication, so you can send a request without registering.
Can I call What The Commit from the browser?
CORS is listed as enabled, so frontend JavaScript can call it directly.
Is What The Commit free?
No key is required, which usually means free access, but providers can still limit volume. Check What The Commit's docs for rate limits and fair-use terms.
What are some alternatives to What The Commit?
Other test data APIs in the directory include loremfile (no key), flaky (no key), FakerAPI (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.
Same category
More Test Data APIs
Next step
Keep looking until the constraints fit.
Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.