API Documentation

The openSquat API provides two modes of access: unauthenticated and authenticated. Users can search for domain look-alikes using either of the endpoints below.

Unauthenticated Access

Use the following endpoint to search for domain look-alikes without authentication:

curl -X GET "https://api.domainsec.io/v1/free/keyword/<KEYWORD>"

                

Replace <KEYWORD> with the keyword you want to search for.

Authenticated Access

Use the following endpoint to search for domain look-alikes with authentication. You need to include your API Key in the header:

curl -X GET "https://api.domainsec.io/v1/keyword/<KEYWORD>" -H "x-api: <YOUR_API_KEY>"

                

Replace <KEYWORD> with the keyword you want to search for and <YOUR_API_KEY> with your API key.

Example Response

{
    "response": "success",
    "keyword": "example",
    "last_days": 1,
    "count": 5,
    "query_time": 0.3,
    "fuzziness": 1,
    "domains": [
        "exampledomain1.com",
        "exampledomain2.net",
        "exampledomain3.org",
        "exampledomain4.io",
        "exampledomain5.co"
    ]
}

                

Error Response

{
    "response": "error",
    "message": "Keyword length must be between 4 and 32 characters."
} 
                

Feature Comparison

Feature Non-Authenticated API Authenticated API
API Query Limits 5 per day 10 per day
Query Speed Normal Faster
Specify Fuzziness No Yes
Search Period Last day Last day to week