Credits and limits
The API uses the member subscription credits already available in AfterLib.
Free requests
Section titled “Free requests”These requests do not charge usage credits:
GET /v1/accountGET /v1/creditsGET /v1/collectionsPOST /v1/collections/{collectionId}/items
Charged requests
Section titled “Charged requests”Requests that return ad or page records charge credits for the unique items returned:
POST /v1/ads/searchGET /v1/ads/{adId}POST /v1/pages/searchGET /v1/pages/{pageId}GET /v1/collections/{collectionId}/itemswhen it returns ads or pages
If a request would exceed the available credits, the API returns an error response instead of partial data.
Credit headers
Section titled “Credit headers”Credit-gated responses include headers that show the remaining credit state when available. Use GET /v1/credits for the most readable current status.