api
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| api [2026/01/17 12:48] – [Special rate limits] flack | api [2026/03/02 13:15] (current) – [Rate limits] flack | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| If you make a lot of API requests then you may receive a 429 Too Many Requests response. This indicates that an API rate limit has been reached. | If you make a lot of API requests then you may receive a 429 Too Many Requests response. This indicates that an API rate limit has been reached. | ||
| + | |||
| + | You can check the " | ||
| + | |||
| If you need higher API rate limits please get in touch with us. | If you need higher API rate limits please get in touch with us. | ||
| + | |||
| + | Please note that we might refine the existing rate limits or introduce new ones in the future in order to keep our API reliable and to help third-party developers use the API in a responsible way. | ||
| + | |||
| + | |||
| ===== Default rate limits ===== | ===== Default rate limits ===== | ||
| Line 31: | Line 38: | ||
| === For authenticated requests === | === For authenticated requests === | ||
| - | If you use a valid API access token the following limits apply: | + | If you use a valid API access token, the following limits apply: |
| * Burst: 20/min | * Burst: 20/min | ||
| Line 38: | Line 45: | ||
| ===== Special rate limits ===== | ===== Special rate limits ===== | ||
| - | If an endpoint is not listed in this section | + | If an endpoint is not listed in this section, the default rate limits apply for that endpoint. |
| === Compound list details === | === Compound list details === | ||
| - | These rate limits only apply for the [[api# | + | These rate limits only apply for the [[api# |
| * Burst: 5/min | * Burst: 5/min | ||
| Line 49: | Line 56: | ||
| === Quote Request | === Quote Request | ||
| - | These rate limits only apply for the [[api#quote_request_api|Quote Request | + | These rate limits only apply for the [[api#quote_request1|Quote Request endpoint]]. |
| * Burst: 5/min | * Burst: 5/min | ||
| Line 184: | Line 191: | ||
| If you call this API endpoint as an authenticated user (=you provide a [[api# | If you call this API endpoint as an authenticated user (=you provide a [[api# | ||
| + | You can get a single database file by its ID: | ||
| + | |||
| + | == Endpoint: == | ||
| + | < | ||
| + | |||
| + | == Example API request: == | ||
| + | < | ||
| + | http https:// | ||
| + | </ | ||
| + | |||
| + | == Request: == | ||
| + | < | ||
| + | GET / | ||
| + | Accept: */* | ||
| + | Accept-Encoding: | ||
| + | </ | ||
| + | |||
| + | == Response: == | ||
| + | < | ||
| + | HTTP/1.1 200 OK | ||
| + | Allow: GET, HEAD, OPTIONS | ||
| + | Content-Type: | ||
| + | |||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ] | ||
| + | } | ||
| + | </ | ||
| ===== Compound details ===== | ===== Compound details ===== | ||
| Line 1014: | Line 1081: | ||
| - | ===== Compound suppliers public | + | ===== Compound suppliers public ===== |
| You can get some very basic (public) information about our compound suppliers with this API. | You can get some very basic (public) information about our compound suppliers with this API. | ||
| Line 1081: | Line 1148: | ||
| - | ===== Compound catalogs public | + | ===== Compound catalogs public ===== |
| You can get some very basic (public) information about our compound catalogs with this API. | You can get some very basic (public) information about our compound catalogs with this API. | ||
| Line 1139: | Line 1206: | ||
| - | ===== Quote Request | + | ===== Quote Request ===== |
| == Endpoint: == | == Endpoint: == | ||
| Line 1150: | Line 1217: | ||
| Mandatory fields: | Mandatory fields: | ||
| - | * **mcule_ids**: | + | * **mcule_ids**: |
| * **customer_first_name**: | * **customer_first_name**: | ||
| * **customer_last_name**: | * **customer_last_name**: | ||
| - | * **delivery_country**: | + | * **delivery_country**: |
| Line 1371: | Line 1438: | ||
| } | } | ||
| </ | </ | ||
| - | ===== Quote Request Status | + | ===== Quote Request Status ===== |
| Since processing a quote request and generating suitable quotes can take some time it is an asynchronous process. You can query the status of a quote request by calling the detail API endpoint of the quote request. It is returned in the **api_url** field when you create the quote request. You can also use the **id** field to construct the url of the API call. You can check the **state** field of the response whether the async quote request processing is finished. | Since processing a quote request and generating suitable quotes can take some time it is an asynchronous process. You can query the status of a quote request by calling the detail API endpoint of the quote request. It is returned in the **api_url** field when you create the quote request. You can also use the **id** field to construct the url of the API call. You can check the **state** field of the response whether the async quote request processing is finished. | ||
| Line 1571: | Line 1638: | ||
| Check for the **group** field. If it is not null, we could generate some quotes for your quote query. As you can see from the above result, we could generate 3 different quotes for the quote query. A "Best price" quote, a " | Check for the **group** field. If it is not null, we could generate some quotes for your quote query. As you can see from the above result, we could generate 3 different quotes for the quote query. A "Best price" quote, a " | ||
| - | ===== Quote API | + | ===== Quote ===== |
| In order to get the detailed data of an individual quote, you can call the detail API endpoint of a quote, for example for the quote with ID //15677//: | In order to get the detailed data of an individual quote, you can call the detail API endpoint of a quote, for example for the quote with ID //15677//: | ||
api.1768654081.txt.gz · Last modified: by flack