Skip to content
Neattrim

Plans, prices, features and server time

View as Markdown · Open in Claude Desktop

Endpoint
GET /v1/config
Who can call it
Anyone: no key or sign-in.

Examples

Set NEATTRIM_API_KEY to your key, then copy an example. A tool that draws from your allowance reads an uploaded file: upload a sample file as in the quickstart and set VIDEO_FILE_ID (or AUDIO_FILE_ID, IMAGE_FILE_ID, SUBTITLES_FILE_ID) to its file_id. Any other id in an example, such as JOB_ID, is read from a variable of the same name.

curl -X GET "https://api.neattrim.com/v1/config"

Response

200
Config
Response 200
NameTypeRequiredDescription
min_web_buildstringnoOldest web build still accepted; older clients reload
vapid_key_idstringno
vapid_public_keystringno
productsarray of objectno
allowancesobjectno
featuresobjectnoPublic feature flags keyed without the `public.` prefix. `sale.active` describes a running sale while it is on: `{ active: boolean, code: string, percent: integer 1 to 99, ends_at: ISO 8601 string or null }`. The pricing page, paywall sheet and checkout hand-off read it; the checkout API applies the code itself (`checkoutDiscountCodes`).
billingobjectnoHow payments run. `test`: the payment provider is in test mode, so paid plans are shown as not open yet and only test accounts can buy (Me.test_payments). `live`: real payments.
server_nowstringno
consent_requiredbooleannoWhether the visitor's region needs prior cookie consent (from the visitor's country). Absent means unknown, which clients treat as required
regionstringnoCountry code the consent record is filed under; no IP address

Errors

429
RATE_LIMITED

Every error code and its fix