Syphoon
Amazon Syphoon API Documentation

Amazon Syphoon API Documentation

Overview #

The Amazon Syphoon API enables developers to access Amazon webpages.

This documentation covers endpoints, authentication, rate limits, error handling, and best practices, with general structures and detailed examples for API responses.


Endpoint #

  • URL: https://api.syphoon.com
  • Method: POST
  • Sample POST Body for API URL:
json
{
  "url": "https://www.amazon.com/dp/B07X41PWTY",
  "key": "SYPHOON_KEY",
  "method": "GET"
}

Timeout: Set the default timeout of your HTTP client to 180 seconds. A shorter timeout can end a request before its response arrives.

Sample code snippets: #

curl --location 'https://api.syphoon.com/' \
--max-time 180 \
--header 'Content-Type: application/json' \
--data '{
  "url": "https://www.amazon.com/dp/B07X41PWTY",
  "key": "SYPHOON_KEY",
  "method": "GET"
}'

For search URL #

json
{
 "url": "https://www.amazon.com/s?k=T+Shirt",
 "key": "SYPHOON_KEY",
 "method": "GET"
}

Sample code snippets: #

curl --location 'https://api.syphoon.com/' \
--max-time 180 \
--header 'Content-Type: application/json' \
--data '{
  "url": "https://www.amazon.com/s?k=T+Shirt",
  "key": "SYPHOON_KEY",
  "method": "GET"
}'

Custom Headers and Cookies #

By default, we do not allow sending custom headers for Amazon. If you need support for custom headers or cookies, please reach out to support, and we will enable it for you.

Authentication #

Each request requires an API key in the POST data, provided upon subscription to the Syphoon service. The API key must be included in every request to authenticate the user.

Rate Limits #

The rate limits applied to each user are custom and based on the subscription plan chosen. You should not cross the concurrency you have been assigned because you will get a “Too many requests” error.

Response Structure & Status Codes #

For successful responses, you will get the HTML as returned by the Amazon website. The Status Code will be 200 for these responses.

For failed responses, the Status Code can be 4xx or 5xx

  • Status Code 404 will be returned when the provided Amazon URL is incorrect (404 requests will be charged, so make sure of the URLs)
  • Status Code 429 will be returned when concurrency limits are breached
  • Status Code 400 will be returned if Amazon does not send a valid response (these will be charged)
  • Status Code 5xx will be sent for server errors

We request you to check the Status Code before trying to parse the response. You will only be charged for responses with Status Codes 200, 400 and 404.

For any help or assistance, please don’t hesitate to reach out to support@syphoon.com and we will be glad to help you.