Requesting and Using API Key

Guide on obtaining and utilizing API keys for fly trade, enabling developers to integrate and interact with the platform's services.

How to request API key

API key is not required, you can use the public API without the API key. Should you require a dedicated API key, kindly open a support ticket on our Discord. In your request, please include detailed information about your project and how you intend to utilize our APIs.

How to use API key

Include the apikey header alongside the request. To verify that the API key is working, check if the response contains x-auth-status: authenticated header.

$ curl -I -H 'apikey: <APIKEY>' https://api.magpiefi.xyz/ | grep -i 'x-auth-status'

Endpoint Guidelines

  • Public Access Endpoint: https://api.fly.trade

    • This endpoint is intended for general public use and does not require API key authentication.

  • Authenticated Access Endpoint: https://api.magpiefi.xyz

    • You must use this endpoint with your API key included as described above.

Last updated