How do I obtain an API key and get started with the SkyFi API?



This content originally appeared on DEV Community and was authored by SkyFi Support

To use the SkyFi Platform API, you need to have a SkyFi Pro account and obtain an API key:

Sign up / Upgrade to SkyFi Pro: Create a SkyFi account (or log in to your existing account) at app.skyfi.com and upgrade to a Pro plan. Only Pro accounts have access to API keys.

Find your API key: Once you have a Pro account, navigate to the My Profile section on the SkyFi app/website. There you will find an API key that you can copy.

Authentication: All API requests must include this API key in the header. Use the header X-Skyfi-Api-Key: for authentication. Without a valid API key, requests will be rejected with an authentication error (HTTP 401).

Start with open data (free) orders: A recommended first step is to test the API using open data imagery (such as Sentinel-2) which is free of charge. This lets you verify that your requests and delivery setup work correctly without incurring costs. To do this, you can perform an archive search with the openData: true filter (to find free imagery) and then place an order for one of those results (open data orders cost $0).

Review documentation and examples: The SkyFi API has interactive documentation (Swagger/ReDoc) and example code in multiple languages. You can reference these to understand how to format requests. For instance, the documentation shows how to form requests in Python, JavaScript, etc.

Once you have your API key and are comfortable with the API endpoints, you can start integrating SkyFi services into your application.


This content originally appeared on DEV Community and was authored by SkyFi Support