X114

API Reference

Reference for every X114 API endpoint: auth, request schema, response schema, and a working curl example.

Base URL

All endpoints live under the same base URL. Use HTTPS in production.

https://x114.org/api/v1

Authentication

Every request needs a Bearer token. Create one in Settings → API keys after signing up.

Authorization: Bearer sk_xxxxxxxxxxxxxxxxxxxxxxxx

Credits

Every call costs 1 credit. Insufficient balance returns 402. Credits never expire on the lifetime plan.

Status codes

The same shape is used for every endpoint.

CodeMeaning
401Missing or invalid API key.
402Insufficient credits — top up from your dashboard.
429Rate limit exceeded — back off and retry.
500Server error — safe to retry with backoff.

Endpoints