ελναγων

API Reference

Technical documentation for working with ελναγων's APIs. Includes request format, endpoints, and code examples.

Authentication

All API requests require an Authorization header with a valid API token. Token must be prefixed with Bearer and encoded in UTF-8.

curl "https://api.example.com/data"
  -H "Authorization: Bearer YOUR_API_TOKEN"
  -H "Content-Type: application/json"
                        

Endpoints

GET /data

Description:

Retrieve structured data based on query parameters.

Query Parameters:

  • format (optional): json or csv
  • sort: Supported columns for sorting
GET https://api.example.com/data?format=json&sort=date
                            

POST /submit

Description:

Send structured data to the API for processing.

Request Payload:

{
  "key1": "value1",
  "key2": [1, 2, 3]
}
                                

Rate Limits

APIs are rate-limited at 100 requests per minute per active token. You can monitor rate limit status in the response headers:

x-rate-limit-remaining Remaining requests available
x-rate-limit-reset Seconds until limit resets