๐๐ผ๐ ๐ฐ๐ฎ๐ป ๐ ๐๐ฒ๐๐ ๐ถ๐ณ ๐๐ต๐ฒ ๐ฆ๐ธ๐๐๐ถ ๐๐ฃ๐ ๐๐ฒ๐ฟ๐๐ถ๐ฐ๐ฒ ๐ถ๐ ๐ฟ๐ฒ๐ฎ๐ฐ๐ต๐ฎ๐ฏ๐น๐ฒ ๐ผ๐ฟ ๐ต๐ฒ๐ฎ๐น๐๐ต๐?

The SkyFi API provides simple endpoints to verify that the service is up and responding:
๐ฃ๐ถ๐ป๐ด ๐๐ป๐ฑ๐ฝ๐ผ๐ถ๐ป๐: GET /ping โ This requires no parameters except the API key in the header. If the service is running, it returns a JSON with a message (e.g., "message": "pong" or a similar friendly response).
๐๐ฒ๐ฎ๐น๐๐ต ๐๐ต๐ฒ๐ฐ๐ธ ๐๐ป๐ฑ๐ฝ๐ผ๐ถ๐ป๐: GET /health_check โ This returns a status object (e.g., {"status": "healthy"}) indicating the overall health of the API service.
Using these endpoints in a test can quickly confirm connectivity and authentication. For example, you could run:
If you receive the expected response (HTTP 200 OK with a message), then your API key is valid and the service is reachable. If you get an error (401 Unauthorized or no response), you may need to check your API key or network connection.
Subscribe to my newsletter
Read articles from SkyFi Support directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
