SAS API supports batch requests of up to 1000 molecules in a single batch. To use the API endpoint the User may use Python requests module, as in following code snippet.
Python Code example:
For endpoint authentication SAS uses tokens that are unique for given account or application. Each token will be limited to a list of IP addresses provided by the customer. The token is passed to the endpoint using a `key` parameter. Each token has separate molecule limits that API can process over time (e.g., 100k molecules per hour). A batch request depletes the limits using the exact number of molecules in given request. Molecules submitted in requests are not stored in the SYNTHIA™ system, only the molecule count is stored.
An API key is a randomly generated string prepared in a cryptographically strong manner.
Upon authentication failure or hitting limits an error will be thrown (non-200 status code). The user is responsible for retrying with appropriate key or after molecules quota replenishes.
API POST Endpoint:
https://sas.api.synthiaonline.com/v1/synthetic-accessibility-model?key=XXX
SAS API Online Documentation URL:
https://sas.api.synthiaonline.com/redoc
https://sas.api.synthiaonline.com/docs
Type: application or json
Sample Request Payload:
Sample Response Payload:
NOTE: for some trial or test accounts the initial request might take longer to process due to additional "warm up" overhead. Subsequent requests will be served much faster until a period of inactivity of 15 mins would occur.
Please reach out to synthia.help@milliporesigma.com if you have any question regarding API usage, authentication, or limit adjustment.