# Gab Details API (gab.profile)

- Canonical page: [https://everyinfra.com/en/gab-api/profile](https://everyinfra.com/en/gab-api/profile?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "gab", "action": "profile", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

Gab Details reads the public profile of one Gab account and returns a single record: `user_id`, username, display name, bio, profile link, follower, following and post counts, verification, Gab Pro membership, avatar and header images, and the account's creation date. Researchers who study alternative social networks, journalists checking an account before quoting it, and trust and safety teams use it to establish who an account is, how large its following is and how long it has existed.

`username` takes the account name without the @, or the full profile link. It is a lookup of one known account, not a search, so a display name or a person's real name will not find anyone. `display_name` can differ from the username, and a null count means Gab did not disclose that number, which is different from zero.

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=gab&action=profile

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| username | not declared | yes | not declared | A Gab account handle without `@`, or a full `gab.com/<username>` profile URL. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| user_id | User's unique ID on the platform. |
| username | Username (@handle). |
| display_name | Display name; can differ from username. |
| bio | Profile bio written by the account; may contain line breaks and emoji. |
| url | Link to the record on the platform. |
| follower_count | Followers. null means not disclosed, not 0. |
| following_count | Accounts followed. null means not disclosed, not 0. |
| post_count | Total posts. null means not disclosed, not 0. |
| is_verified | Whether the platform verified the account. null means it cannot be determined. |
| is_pro | platform-native meaning |
| avatar_url | Avatar image link. Some platforms return sized CDN links that can expire. |
| header_url | platform-native meaning |
| created_at | Creation time, same format as posted_at. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "gab",
  "action": "profile",
  "params": {
    "username": "<GAB_USERNAME>"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "gab",
        "action": "profile",
        "params": {
            "username": "<GAB_USERNAME>",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "gab",
  "action": "profile",
  "results": {
    "user_id": …,
    "username": …,
    "display_name": …,
    "bio": …,
    "url": …,
    "follower_count": …,
    "following_count": …,
    "post_count": …,
    "is_verified": …,
    "is_pro": …,
    "avatar_url": …,
    "header_url": …,
    "created_at": …,
    "platform": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### How do I look up a Gab account through the API?

Call Gab Details with the account name in `username`, written without the @ exactly as it appears in the profile link, or pass the full profile URL, such as https://gab.com/<name>. Copy the name from the link, since the name in the profile header is the display name, a different field.

### How can I tell how active an account is?

Divide `post_count` by the time since `created_at` to get an average posting rate, then read its public posts with the Gab Posts by user capability, which takes the same `username`. A null `post_count` is undisclosed, so it cannot go into the rate.

### What do `is_pro` and `is_verified` mean?

`is_pro` is true when the account is a Gab Pro member. `is_verified` is true when Gab has verified the account and null when that cannot be determined, which differs from false. Neither flag measures reach; read `follower_count` for that.

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=gab
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
