Fly
  • Fly
    • What is Fly solving?
      • What is DeFi?
    • Fly key features
      • Use Cases
    • $FLY
      • xFLY & FLY33
      • Eggs
  • 📶Supported Networks
  • Guides
    • 📖Glossary of DeFi Terms
    • 👜Connect Wallet
    • 🔄On-Chain Swap
    • 🔀Cross-Chain Swap
    • 🔂Swap configuration
    • 🥚fly boosts
    • 📒Transaction History
    • 💲Portfolio
  • 👩‍💻Developers
    • fly.trade contracts
      • MagpieCCTPBridge
      • MagpieCelerBridgeV2
      • MagpieRouterV3
      • MagpieStargateBridgeV3
      • LibAsset
      • LibBridge
      • LibRouter
    • Smart Contracts Audit
    • Deployments
    • API Reference
      • On chain swap
      • Cross chain swap
      • Requesting and Using API Key
Powered by GitBook
On this page
  • How to request API key
  • How to use API key
  1. Developers
  2. API Reference

Requesting and Using API Key

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'

PreviousCross chain swap

Last updated 11 days ago

👩‍💻