# Gab API

Retrieve user profiles, posts and reply threads by username or post URL for public conversation analysis.

Provide account usernames or post links directly since general keyword searches are not available for this platform.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "gab", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/gab-api](https://everyinfra.com/en/gab-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### profile — Profiles
Look up a Gab account by handle or profile URL. Get display name, bio, follower, following and post counts, verification, Pro status and join date. `is_pro` and `is_verified` are separate signals. Neither confirms identity on its own.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `username` (required): A Gab account handle without `@`, or a full `gab.com/<username>` profile URL.
- Returns fields: user_id, username, display_name, bio, url, follower_count, following_count, post_count, is_verified, is_pro, avatar_url, header_url, created_at, platform
- Capability page: [https://everyinfra.com/en/gab-api/profile](https://everyinfra.com/en/gab-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/gab-api/profile.md)

### user_posts — Posts by user
Read posts from a known Gab account's timeline by `username`. Get text, author, media links, like, repost and reply counts and post time. Not everything on a profile is original to that account. Use `author_username` and `url` to attribute each row.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `username` (required): The known Gab account whose timeline posts should be read; this is not a people-search term.
- Returns fields: id, url, text, author_username, author_name, like_count, repost_count, reply_count, media_urls, posted_at, platform
- Capability page: [https://everyinfra.com/en/gab-api/user_posts](https://everyinfra.com/en/gab-api/user_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/gab-api/user_posts.md)

### post — Post details
Fetch a single Gab post from its full link, including account path and post ID, with text, author, media links, counts and post time. Media links grant no reuse rights, and the conversation around the post is not included.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): The full URL of one Gab post, including its account path and post ID.
- Returns fields: id, url, text, author_username, author_name, like_count, repost_count, reply_count, media_urls, posted_at, platform
- Capability page: [https://everyinfra.com/en/gab-api/post](https://everyinfra.com/en/gab-api/post?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/gab-api/post.md)

### replies — Replies
Collect the conversation around a Gab post from its full `url`, which may mix replies, earlier posts in the thread and quotes. No parent ID or relation type is returned, so do not rebuild a tree from array order or treat it as the complete comment list.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `url` (required): The full Gab post URL whose available conversation context should be read.
- Returns fields: id, url, text, author_username, author_name, like_count, repost_count, reply_count, media_urls, posted_at, platform
- Capability page: [https://everyinfra.com/en/gab-api/replies](https://everyinfra.com/en/gab-api/replies?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/gab-api/replies.md)

## Gab API questions

### What can I retrieve with the Gab API?

Set `platform` to `gab`. The current catalog lists profiles, posts by user, post details, and replies. These action names identify different Gab objects or views; they are not interchangeable search modes.

### Which input starts the Gab `profile` request?

A Gab account handle without `@`, or a full `gab.com/<username>` profile URL. Send it as `username` inside `params`.

### Which fields can Gab `profile` return?

Its declared schema includes `user_id`, `username`, `display_name`, and `bio`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Gab action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=gab
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
