Skip to content

Credits and limits

The API uses the member subscription credits already available in AfterLib.

These requests do not charge usage credits:

  • GET /v1/account
  • GET /v1/credits
  • GET /v1/collections
  • POST /v1/collections/{collectionId}/items

Requests that return ad or page records charge credits for the unique items returned:

  • POST /v1/ads/search
  • GET /v1/ads/{adId}
  • POST /v1/pages/search
  • GET /v1/pages/{pageId}
  • GET /v1/collections/{collectionId}/items when it returns ads or pages

If a request would exceed the available credits, the API returns an error response instead of partial data.

Credit-gated responses include headers that show the remaining credit state when available. Use GET /v1/credits for the most readable current status.