# X / X Post Info

Fetch public details and stats for a tweet by id.

```
GET /api/v1/twitter/post
```

Auth: `Authorization: Bearer <SOCIFY_KEY>`  
Credits: 2 credits per request

## Parameters

| Name | Required | Description | Example |
|------|----------|-------------|---------|
| `id` | yes | Tweet id. | `1694791112567967849` |

## Example

```bash
curl -s 'https://trysocify.com/api/v1/twitter/post?id=1694791112567967849' \
  -H "Authorization: Bearer $SOCIFY_KEY"
```

## Response fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Tweet id. |
| `text` | string | Tweet text. |
| `created_at` | string | Tweet timestamp. |
| `likes` | number | Like count. |
| `retweets` | number | Retweet count. |
| `replies` | number | Reply count. |
| `quotes` | number | Quote count. |
| `author.username` | string | Author username. |
## Sample response

Successful lookups wrap the payload in `{ ok, platform, resource, params, data, meta }`. `data` is shown below.

```json
{
  "ok": true,
  "platform": "twitter",
  "resource": "post",
  "params": {
    "id": "1694791112567967849"
  },
  "data": {
    "author": {
      "id": "44196397",
      "is_blue_verified": true,
      "name": "Elon Musk",
      "username": "elonmusk"
    },
    "created_at": "Wed Aug 23 17:00:00 +0000 2023",
    "id": "1694791112567967849",
    "likes": 12000,
    "quotes": 120,
    "replies": 800,
    "retweets": 3400,
    "text": "Example tweet"
  },
  "meta": {
    "credits_charged": 2,
    "latency_ms": 420,
    "platform": "twitter",
    "resource": "post",
    "path": "/api/v1/twitter/post"
  }
}
```

## Links

- HTML docs: https://trysocify.com/docs/api/twitter/post
- SEO page: https://trysocify.com/twitter/post
- OpenAPI: https://trysocify.com/openapi.json
- Catalog: https://trysocify.com/catalog.json
