Overview
The AfterLib API gives members programmatic access to the same credit-gated data they can use inside the app.
Use the API to:
- Confirm the connected account name, email address, 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.
API requests use https://api.afterlib.com/v1.
Start with the quickstart, then use examples and recipes for plain HTTP clients.
All API keys created in the Developer Portal use the same standard access set.
AI-readable docs
Section titled “AI-readable docs”The full docs are also available as llms.txt, with full and small variants for tools that prefer one file. The Using with LLMs guide shows how to point an assistant at the docs before asking it to help with the API.
Credit behavior
Section titled “Credit behavior”Reading account identity 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.