https://api.domainscraper.online/index/
The /index/
endpoint allows customers to manage domain indexes, which are collections of domain names stored for purposes such as scraping, analysis, or data organization. Domains in an index can optionally include a reference_id
to provide additional context, such as identifying a subscription type or any other desired reference. These reference_id
values are stored in the dataset and can be used later for filtering and analysis.
POST <https://api.domainscraper.online/index/><indexname>
Creates a new index with the specified name. Optionally, a file containing domain names and their associated reference_id
values can be uploaded during creation.
Parameter | Required | Description |
---|---|---|
<indexname> |
Yes | The name of the new index to create. |
Authorization
: Bearer <your_jwt_token>
or X-Key: <your_api_key>
Content-Type
: multipart/form-data
(if uploading a file)reference_id
separated by a comma.Example File Content:
domain1.com,123
domain2.com
domain3.net
domain4.nl
Example Request: