# Intelligence X API reference

> The Intelligence X API searches the Intelligence X archive (pastes, leaks, darknet and other collected sources) for a selector and returns matching records with their dates, buckets and relevance scores. An investigator uses it to see where an email, domain, URL, IP address, phone number or…

Source: https://osinttools.io/apis/intelligence-x/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/intelligence-x/

- Base URL: https://2.intelx.io
- Authentication: API key in the `X-Key` header. The docs also accept the key as the k query parameter.
- Pricing: Credits
- Rate limits: No requests-per-second limit stated; per-path credits apply (see /authenticate/info) and concurrent searches are capped (maxconcurrentsearches)
- Vendor docs: https://github.com/IntelligenceX/SDK
- OpenAPI spec: https://raw.githubusercontent.com/IntelligenceX/SDK/master/openapi.yaml
- Python SDK: intelx, https://github.com/IntelligenceX/SDK

## Overview

The Intelligence X API searches the Intelligence X archive (pastes, leaks, darknet and other collected sources) for a selector and returns matching records with their dates, buckets and relevance scores. An investigator uses it to see where an email, domain, URL, IP address, phone number or Bitcoin address appears.

Searches are asynchronous: start one with `POST /intelligent/search` to get a search ID, then poll `GET /intelligent/search/result` until the status says there are no more results. Terminate searches you no longer need, since a search can consume a lot of data. Accepted selectors include email, domain (wildcards allowed), URL, IP or CIDR, phone number, Bitcoin address, MAC address, IPFS hash and others; soft terms such as names are rejected.

Authenticate with an API key from the developer tab of your account page at intelx.io, sent as the `X-Key` header or the `k` query parameter. The spec uses `https://2.intelx.io` and `https://3.intelx.io` and does not explain the difference. It defines no request-per-second limit; access is governed by per-path credits (HTTP 402 means no credits left). Phonebook search and some other endpoints have no documented responses and are not covered here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Invalid data or ID |
| 401 | Invalid or unauthorized key, or no access to the bucket |
| 402 | No credits available |
| 404 | Not found |

## Account

### Show the key's capabilities: buckets, per-path credits and concurrent searches.

`GET /authenticate/info`

- Footprint: passive (the target is not contacted)

Returns per-path Credit, CreditMax and CreditReset values and the number of active and maximum concurrent searches.

Response fields:

- `added` (string): Account creation time
- `buckets` (array): Bucket IDs the key can search
- `paths` (object): Per-path Path, Credit, CreditMax and CreditReset
- `searchesactive` (integer): Searches currently running
- `maxconcurrentsearches` (integer): Allowed concurrent searches

```bash
curl 'https://2.intelx.io/authenticate/info' \
  -H 'X-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "added": "2020-01-01T00:00:00Z",
  "buckets": [
    "pastes"
  ],
  "paths": {
    "/intelligent/search": {
      "Path": "/intelligent/search",
      "Credit": 100,
      "CreditMax": 100,
      "CreditReset": 2
    }
  },
  "searchesactive": 0,
  "maxconcurrentsearches": 10
}
```

## Intelligent search

### Start a search for a selector and get a search ID.

`POST /intelligent/search`

- Takes: Email, Domain, IP address, URL, Crypto wallet, Phone number
- Footprint: passive (the target is not contacted)

term must be a strong selector. Results are fetched with /intelligent/search/result using the returned ID.

Response fields:

- `status` (integer): Status code of the request
- `id` (string): Search ID for the result calls

```bash
curl -X POST 'https://2.intelx.io/intelligent/search' \
  -H 'X-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"term":"user@example.com","maxresults":100,"timeout":0,"datefrom":"2020-01-01 00:00:00","dateto":"2020-12-31 23:59:59","sort":4,"media":0}'
```

Example response (200):

```json
{
  "status": 0,
  "id": "00000000-0000-0000-0000-000000000001"
}
```

### Poll a search for results; check status to know when it is done.

`GET /intelligent/search/result`

- Footprint: passive (the target is not contacted)

Poll repeatedly. status 0 means results are available and more may come, 1 no more results, 2 ID not found, 3 no results yet, 4 error.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | query | string | yes | Search ID from /intelligent/search Example: 00000000-0000-0000-0000-000000000001 |
| `media` | query | integer | yes | Media type filter; 0 is all Example: 0 |
| `limit` | query | integer | no | Maximum records to return Example: 100 |
| `bucket` | query | string | no | Only this bucket Example: pastes |
| `reset` | query | integer | no | 0 or 1; resets previous searches Example: 0 |

Response fields:

- `status` (integer): 0 results available, 1 no more, 2 ID not found, 3 no results yet, 4 error
- `records[].systemid` (string): System ID of the item
- `records[].storageid` (string): Storage ID; empty if not stored
- `records[].name` (string): Item name
- `records[].date` (string): When the item was found or created
- `records[].added` (string): When it was ingested
- `records[].bucket` (string): Bucket the item is in
- `records[].media` (integer): Media type
- `records[].size` (integer): Size in bytes
- `records[].xscore` (integer): Relevance, 0 to 100

```bash
curl 'https://2.intelx.io/intelligent/search/result?id=00000000-0000-0000-0000-000000000001&media=0' \
  -H 'X-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "status": 1,
  "records": [
    {
      "systemid": "00000000-0000-0000-0000-000000000002",
      "storageid": "example-storage-id",
      "name": "example.txt",
      "date": "2020-06-01T00:00:00Z",
      "bucket": "pastes",
      "media": 24,
      "size": 1024,
      "xscore": 80
    }
  ]
}
```

## Live search

### Start a live search for an email or domain; returns a search ID.

`GET /live/search/internal`

- Takes: Email, Domain
- Footprint: passive (the target is not contacted)

selector can be an email, a domain, a US social security number or a credit card number. Fetch results with the search result endpoints. The limit may be exceeded by the API, so enforce any hard limit in your client.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `selector` | query | string | yes | Email or domain to search Example: user@example.com |
| `bucket` | query | string | no | Bucket to search Example: pastes |
| `skipinvalid` | query | boolean | no | Skip invalid records; recommended true Example: true |
| `limit` | query | integer | no | Maximum records per bucket Example: 10 |

Response fields:

- `status` (integer): Status code of the request
- `id` (string): Search ID

```bash
curl 'https://2.intelx.io/live/search/internal?selector=user%40example.com' \
  -H 'X-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "status": 0,
  "id": "00000000-0000-0000-0000-000000000003"
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
