RankParse

Page Metadata

Get title, description, h1, and canonical URL for a specific page.

GET /v1/page-meta

Returns page metadata for a specific URL. Returns null data (not 404) when the URL is not found. Costs 2 credits.

Parameters

ParameterTypeRequiredDescription
urlstringYesThe full URL to look up

Request

curl "https://api.rankparse.com/v1/page-meta?url=https://example.com/about" \
  -H "X-API-Key: rp_your_key"

Response

{
  "data": {
    "url": "https://example.com/about",
    "title": "About Us - Example",
    "description": "Learn about Example Inc.",
    "h1": "About Us",
    "canonical": "https://example.com/about"
  },
  "credits_used": 2
}

On this page