API Reference
Search HTML Source Code
Search through website source code to find specific HTML elements, attributes, or technologies
POST
/
html-source-code-search
Copy
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
}'
Copy
{
"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
Response
200
application/json
Successful response
The response is of type object
.
Copy
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
}'
Copy
{
"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"
]
}
}
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.