Browse the API reference

Subdomains

New hosts across everything

Every newly discovered host across all programs, newest first. Page with `meta.next_cursor`.

GEThttps://chaos.thescope.top/api/v1/subdomains/newscope: read

Query parameters

hoursintegeroptionaldefault 24

Look-back window in hours. Ignored when `since` is supplied.

sincestringoptional

ISO-8601 timestamp; overrides `hours`.

limitintegeroptionaldefault 500

Rows to return (max 2000).

before_tsstringoptional

Cursor: `first_seen_at` of the last row from the previous page.

before_idstringoptional

Cursor: `id` of the last row from the previous page.

Example response

200 application/json
{ "data": [ { "host": "a.example.com", "domain": "example.com", "first_seen_at": "…" } ], "meta": { "next_cursor": { "before_ts": "…", "before_id": "…" } } }

Errors

400invalid_bodyA POST body was missing or was not valid JSON.
400invalid_domainThe supplied domain is not a valid root domain.
400invalid_queryA required query parameter was missing or too short.
400invalid_idA path id was not a UUID.
401missing_tokenNo Authorization or X-API-Key header was sent.
401invalid_tokenThe token is malformed or unknown.
401revoked_tokenThe token was revoked by its owner.
404not_foundThe domain, platform, scan or endpoint does not exist.
405method_not_allowedThe HTTP verb is not supported on that path.
500query_failedA database query failed while serving the request.
500server_errorAn unexpected error occurred.

Full catalogue with fixes on the errors page.

GETTry it

Kept in this browser tab only and sent straight to this API.

https://chaos.thescope.top/api/v1/subdomains/new?hours=24&limit=500
curl "https://chaos.thescope.top/api/v1/subdomains/new?hours=24&limit=500" \
  -H "Authorization: Bearer chs_live_xxxxxxxxxxxx"