Skip to main content
POST
/
service
/
v2
/
exports
Create Export Job
curl --request POST \
  --url https://oathnet.org/api/service/v2/exports \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "limit": 123,
  "fields": [
    "<string>"
  ],
  "search": {
    "query": "<string>",
    "domains": [
      "<string>"
    ],
    "subdomains": [
      "<string>"
    ],
    "paths": [
      "<string>"
    ],
    "usernames": [
      "<string>"
    ],
    "passwords": [
      "<string>"
    ],
    "emails": [
      "<string>"
    ],
    "ips": [
      "<string>"
    ],
    "hwids": [
      "<string>"
    ],
    "discord_ids": [
      "<string>"
    ],
    "log_id": "<string>",
    "from": "<string>",
    "to": "<string>",
    "date_field": "<string>",
    "sort": "<string>",
    "logic": "<string>",
    "filter": {
      "field": "country",
      "operator": "eq",
      "value": "us"
    },
    "filter_id": "0123456789abcdef01234567",
    "wildcard": true,
    "has_log_id": true,
    "phone": [
      "<string>"
    ],
    "first_name": [
      "<string>"
    ],
    "last_name": [
      "<string>"
    ],
    "full_name": [
      "<string>"
    ],
    "city": [
      "<string>"
    ],
    "country": [
      "<string>"
    ],
    "state": [
      "<string>"
    ],
    "postal_code": [
      "<string>"
    ],
    "dbname": [
      "<string>"
    ],
    "password_hash": [
      "<string>"
    ],
    "email_domain": [
      "<string>"
    ],
    "iban": [
      "<string>"
    ],
    "ssn": [
      "<string>"
    ],
    "date_birth_from": "<string>",
    "date_birth_to": "<string>"
  },
  "query_config": {
    "q": "alice@example.com",
    "email": "alice@example.com",
    "dbname[]": [
      "linkedin.com",
      "twitter.com"
    ],
    "wildcard": true,
    "extra_params": {
      "sort": "-indexed_at"
    }
  }
}
'
{
  "id": "<string>",
  "job_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "expires_at": "2023-11-07T05:31:56Z",
  "progress": {
    "records_done": 123,
    "records_total": 123,
    "bytes_done": 123,
    "percent": 123,
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "result": {
    "format": "<string>",
    "file_name": "<string>",
    "file_path": "<string>",
    "file_size": 123,
    "records": 123,
    "ready_at": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z"
  },
  "last_error": "<string>",
  "request": {
    "type": "<string>",
    "service": "<string>",
    "format": "<string>",
    "limit": 123,
    "fields": [
      "<string>"
    ],
    "request_count": 123
  },
  "next_poll_after_ms": 123,
  "metadata": {}
}
Starts an export job for stealer, victims, or breach data.
Successful responses are raw export snapshots with HTTP 202. Use Get Export Status to poll progress.

Authorizations

x-api-key
string
header
required

API key for authentication (lowercase header name)

Body

application/json
type
enum<string>
Available options:
docs,
victims,
breach
service
enum<string>
Available options:
stealer,
victims,
breach
format
enum<string>
Available options:
json,
jsonl,
csv
limit
integer
fields
string[]
query_config
object

Reusable JSON form of a search request for exports and bulk-search jobs.

It accepts the same public filter keys as the corresponding V2 search endpoint, plus filter and filter_id. Prefer canonical JSON keys such as domain, email_domain, dbname, and username; bracketed variants such as domain[] are also accepted by the backend.

Example:
{
"q": "alice@example.com",
"email": "alice@example.com",
"dbname[]": ["linkedin.com", "twitter.com"],
"wildcard": true,
"extra_params": { "sort": "-indexed_at" }
}

Response

202 - application/json

Raw export job snapshot

id
string
job_id
string
status
enum<string>
Available options:
queued,
running,
completed,
canceled
created_at
string<date-time>
started_at
string<date-time>
completed_at
string<date-time>
expires_at
string<date-time>
progress
object
result
object
last_error
string
request
object
next_poll_after_ms
integer
metadata
object