Errors & Timeouts
Common API error codes, timeout recommendations, and backward compatibility guarantees.
Timeouts and API Response Time
Enrich Layer API endpoints take an average of 2 seconds to complete.
You are encouraged to make concurrent requests to our API service to maximize throughput.
We recommend a timeout of 60 seconds.
Errors
These are the common errors that could be returned by our API:
| HTTP Code | Charge? | Description |
|---|---|---|
| 400 | No | Invalid parameters provided. Refer to the documentation and message body for more info |
| 401 | No | Invalid API Key |
| 403 | No | You have run out of credits |
| 404 | No | The requested resource (e.g: user profile, company) could not be found |
| 410 | No | This API is deprecated |
| 429 | No | Rate limited. Please retry. See Rate Limits |
| 500 | No | There is an error with our API. Please contact us for assistance |
| 503 | No | Enrichment failed, please retry. |
You will never be charged for errors that represent failure.
Backward Compatibility Guarantee
We are committed to ensuring that our API remains backward compatible, allowing you to integrate with confidence. Our backward compatibility guarantee means that we will not introduce changes that break existing functionality or remove endpoints without a deprecation period.
To be specific, we will not introduce breaking changes in the following ways:
- We will not remove documented parameters and response attributes.
- We will not change the data type as documented in our API responses.
However, the following are not considered breaking changes:
- Adding attributes/parameters to API endpoints without prior notice.
- Adding additional response or requests headers to our API endpoints without prior notice.
We highly recommend you integrate our API in a way that would not break should new response attributes or headers be introduced.
If we make changes to our API, we will provide clear documentation and sufficient notice (30 days) to ensure a seamless transition. Notices will be shared via newsletter emails, Twitter/X posts and updates to our blog.