Skip to content

Overview

The AfterLib public API gives members programmatic access to the same credit-gated data they can use inside the app.

Use the API to:

  • Check account and credit status.
  • Search ads and pages.
  • Fetch a single ad or page by ID.
  • List collections available to the member.
  • Read ads or pages from a collection.
  • Add an ad or page to a collection.

Production requests use https://api.afterlib.com with paths under /v1.

Start with the quickstart, use examples and recipes for plain HTTP clients, then use the API reference for exact request and response fields.

account:readcredits:readads:readpages:readcollections:readcollections:write

New keys created in the Developer Portal include these scopes by default. Older keys only have the scopes they were created with.

Reading account data, credit status, and the collection list is free. Reading returned ads or pages charges usage credits. Adding an item to a collection does not charge usage credits.

Every API response includes a request ID. Keep it when debugging a failed request.