> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gdeltcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# A company in one call

```bash theme={null}
curl "https://gdeltcloud.com/api/v2/entities/ticker:PLTR?include=filings,relationships&include_limit=3&view=compact" \
  -H "Authorization: Bearer $GDELT_CLOUD_API_KEY"
```

```json theme={null}
{
  "success": true,
  "data": {
    "entity_id": "e_343d40e953cc27e7",
    "name": "Palantir",
    "type": "organization",
    "metrics": { "story_count": 73, "event_count": 28 },
    "blocks": {
      "filings": {
        "status": "ok",
        "basis": { "entity_id": "e_343d40e953cc27e7", "cik": [1321655] },
        "profile": { "cik": 1321655, "company_name": "Palantir Technologies Inc.", "ticker": "PLTR" },
        "latest_filings": {
          "total": null,
          "items": [{ "accession_no": "0001211060-26-000012", "form_type": "4", "file_date": "2026-11-24" }],
          "next": "/api/v2/filings?cik=1321655&limit=3&cursor=3"
        }
      },
      "relationships": {
        "status": "ok",
        "as_of": "2026-10-30T09:15:51Z",
        "relationships": {
          "total": 18,
          "items": [{ "entity_id": "e_41ecedb776c3dd99", "name": "Red Cat Holdings, Inc.", "relationship": "partner", "confidence": 0.98 }],
          "next": "/api/v2/entities/e_343d40e953cc27e7/relationships?limit=3&cursor=3"
        }
      }
    }
  },
  "meta": {
    "identifier_resolution": { "input": "ticker:PLTR", "status": "resolved", "entity_id": "e_343d40e953cc27e7" }
  }
}
```

One call returns the company's profile, its news and Events, and each block you ask for under
`data.blocks`. The response above is trimmed.

## Look it up by an official ID

Put the identifier where the entity id goes:

```bash CIK theme={null}
curl "https://gdeltcloud.com/api/v2/entities/cik:1321655" \
  -H "Authorization: Bearer $GDELT_CLOUD_API_KEY"
```

```bash Ticker theme={null}
curl "https://gdeltcloud.com/api/v2/entities/ticker:PLTR" \
  -H "Authorization: Bearer $GDELT_CLOUD_API_KEY"
```

```bash LEI theme={null}
curl "https://gdeltcloud.com/api/v2/entities/lei:549300UVN46B3BBDHO85" \
  -H "Authorization: Bearer $GDELT_CLOUD_API_KEY"
```

An identifier resolves only through what a registry states, never by name. When no registry holds it the
call answers 404; when several entities do, 409 with the candidates. `meta.identifier_resolution` shows
how it resolved. The same identifiers work in `entity=` on the lists, and every prefix is in
[Get Entity](https://docs.gdeltcloud.com/api-reference/entities/get-entity.md).

Only have a name? Resolve it with [`/api/v2/search`](https://docs.gdeltcloud.com/guides/for-developers) first.

## Ask for blocks

`include` names the blocks, comma-separated:

```bash Filings and relationships theme={null}
curl "https://gdeltcloud.com/api/v2/entities/cik:1321655?include=filings,relationships&view=compact" \
  -H "Authorization: Bearer $GDELT_CLOUD_API_KEY"
```

```bash Registry and hierarchy (free) theme={null}
curl "https://gdeltcloud.com/api/v2/entities/lei:549300UVN46B3BBDHO85?include=registry,hierarchy&view=compact" \
  -H "Authorization: Bearer $GDELT_CLOUD_API_KEY"
```

```bash Ownership, 10 rows a list theme={null}
curl "https://gdeltcloud.com/api/v2/entities/ticker:PLTR?include=ownership&include_limit=10&view=compact" \
  -H "Authorization: Bearer $GDELT_CLOUD_API_KEY"
```

Through the MCP, the same call is `get_entity`:

```json theme={null}
{
  "entity_id": "ticker:PLTR",
  "include": ["filings", "relationships"],
  "include_limit": 3
}
```

The block names are in the [value reference](https://docs.gdeltcloud.com/reference/enums.md#entity_include).

## Page a full list

Every list in a block is `{total, items, next}`. `next` is the route for the rest of that list, starting
after the rows the block holds. Call it with the same key:

```bash theme={null}
curl "https://gdeltcloud.com/api/v2/entities/e_343d40e953cc27e7/relationships?limit=3&cursor=3" \
  -H "Authorization: Bearer $GDELT_CLOUD_API_KEY"
```

That route continues with its own cursor. `next` is `null` when the block holds the whole list.

## Cost

1 QU for the entity, plus 1 for each block you add. The registry, hierarchy and offices blocks are free.
The response's `X-Quota-Cost` header says the most the call can cost. See
[What a request costs](https://docs.gdeltcloud.com/api-keys.md#what-a-request-costs).

## Best practice

* Ask only for the blocks you need.
* Size lists with `include_limit`, and page the rest through `next`.
* Read each block's `status` before its lists. `timeout` and `unavailable` mean the read failed: retry,
  and never read them as none.
* Read `meta.coverage` for the dates the news counts cover.
* A source your plan does not include answers `null` and is named in `meta.sources_unavailable`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.