Request/Response Flow
Include your API key in the Authorization header
Set appropriate Content-Type header for POST/PUT requests
Send request to the appropriate endpoint
Check rate limit headers in the response
Handle the response based on HTTP status code
Process response data or error message accordingly
Check HTTP status code first
For success (200): Process the returned data
For client errors (4xx): Handle the specific error condition
For rate limiting (429): Wait and retry based on Retry-After header
For server errors (5xx): Implement retry logic with backoff
