Share:
Below are the various HTML responses you may receive when using Similarweb's REST API.
Code |
Description |
Notes |
---|---|---|
200 |
Valid response / no error |
|
403 |
Invalid API Key or out of hits |
|
401 |
Data not found |
This can be for a faulty domain (fsdfsdfdsf.com), or for an incorrectly entered domain (CNN.COM, cnn.com/sports) |
101 |
Dates not in range |
Either pulling historical data prior to your allowed package’s range, or pulling future data. The error response message indicates the dates available |
102 |
Granularity not supported |
|
103 |
Country not available |
If your package only supports US and you try to pull DE you will receive this error |
429 |
Too many requests made in a short period of time |
This can happen if you make more than 5 requests per second |
Comments
Article is closed for comments.