Endpoint Path

https://api.domainscraper.online/index/

Introduction

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.

API Call Details

1. Create a New Index

Endpoint

POST <https://api.domainscraper.online/index/><indexname>

Description

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.

Path Parameter

Parameter Required Description
<indexname> Yes The name of the new index to create.

Headers

Request

Example File Content:

domain1.com,123
domain2.com
domain3.net
domain4.nl

Example Request: