API Reference
Search HTML Source Code
API Reference
Search HTML Source Code
Search through website source code to find specific HTML elements, attributes, or technologies
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
Body
application/json
Array of strings to search for in the HTML source code
Example:
["data-attrid"]
Array of strings specifying the sorting order (e.g., 'last_visited,desc')
Example:
["last_visited,desc"]
Maximum number of results to return per page
Example:
10
Number of results to skip for pagination
Example:
0
Response
200
application/json
Successful response
Example:
true
Example:
1233
Example:
2
Example:
0
Example:
"eyJDdXJyZW50T2Zmc2V0IjoyLCJSYXdSZXF1ZXN0..."
Example:
"domain_technology_item"
Example:
"example.com"
Example:
"Example Website Title"
Example:
"Example website description"
Example:
["keyword1", "keyword2"]
Example:
537
Example:
"2024-12-21 15:49:23 +00:00"
Example:
"GB"
Example:
"en"
Example:
"en"
Example:
["contact@example.com"]
Example:
["https://twitter.com/example"]
Example:
{
"other": { "widgets": ["AddThis", "Twitter"] },
"web_development": {
"javascript_libraries": ["Axios", "jQuery"]
}
}
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"
]
}
}
}
]
}
}