POST
/
html-source-code-search
curl --request POST \
  --url https://api.growthmarketing.ai/html-source-code-search \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "search_terms": [
    "data-attrid"
  ],
  "order_by": [
    "last_visited,desc"
  ],
  "limit": 10,
  "offset": 0
}'
{
  "success": true,
  "data": {
    "total_count": 1233,
    "items_count": 2,
    "offset": 0,
    "offset_token": "eyJDdXJyZW50T2Zmc2V0IjoyLCJSYXdSZXF1ZXN0...",
    "items": [
      {
        "type": "domain_technology_item",
        "domain": "example.com",
        "title": "Example Website Title",
        "description": "Example website description",
        "meta_keywords": [
          "keyword1",
          "keyword2"
        ],
        "domain_rank": 537,
        "last_visited": "2024-12-21 15:49:23 +00:00",
        "country_iso_code": "GB",
        "language_code": "en",
        "content_language_code": "en",
        "emails": [
          "contact@example.com"
        ],
        "social_graph_urls": [
          "https://twitter.com/example"
        ],
        "technologies": {
          "other": {
            "widgets": [
              "AddThis",
              "Twitter"
            ]
          },
          "web_development": {
            "javascript_libraries": [
              "Axios",
              "jQuery"
            ]
          }
        }
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Body

application/json
search_terms
string[]
required

Array of strings to search for in the HTML source code

Example:
["data-attrid"]
order_by
string[]

Array of strings specifying the sorting order (e.g., 'last_visited,desc')

Example:
["last_visited,desc"]
limit
integer
default:10

Maximum number of results to return per page

Example:

10

offset
integer
default:0

Number of results to skip for pagination

Example:

0

Response

200
application/json
Successful response
success
boolean
Example:

true

data
object