The Lemma API is only available to approved platforms. To request access,
reach out to the Lemma team at
contact@getlemma.com.
Base URL
All API requests are made to:Request format
All requests must include anAuthorization header with your API key. See Authentication for details.
For endpoints that accept a request body (POST, PUT, PATCH), you must set the Content-Type header to application/json. Requests with a body that are missing this header will receive a 415 Unsupported Media Type response. Every POST request must also include an Idempotency-Key header so you can safely retry it. Requests without one receive a 400 response. See Idempotency for how to choose a key.
Response format
Most responses are returned asapplication/json. The only exception is when the endpoint is returning a PDF or an 835 file.
List endpoints return a data array along with meta and links objects for pagination. Single-resource endpoints return a JSON object directly.
Errors
The API returns standard HTTP status codes. Error responses include amessage field.
Example error message
Rate limits
The API allows up to 500 requests per minute per API key. If you exceed this limit, you’ll receive a429 response. Wait and retry after a brief pause.
Need higher limits? Contact us and we’re happy to increase them.
Amounts
All monetary amounts are integers representing cents. For example,150000 represents $1,500.00.