Content Types
Get content type (MIME) distribution for a domain.
GET /v1/content-types
Returns a count of URLs by MIME type. Costs 2 credits.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | The domain to query |
Request
curl "https://api.rankparse.com/v1/content-types?domain=example.com" \
-H "X-API-Key: rp_your_key"Response
{
"data": [
{ "mime": "text/html", "count": 3456 },
{ "mime": "application/pdf", "count": 123 },
{ "mime": "image/png", "count": 89 }
],
"credits_used": 2
}