What does the URL Inspector API do?

The URL Inspector API performs real-time HTTP inspection so you can monitor link health, debug redirect loops, and capture page metadata for SEO or security tooling. Ideal for link checkers, monitoring dashboards, and pre-flight validation before publishing campaigns.

Use cases

  • Broken link monitoring for CMS platforms
  • Affiliate and campaign URL QA
  • Security review of redirect chains
  • SEO audit tooling

Code examples

Replace endpoint paths and hosts with the values shown in your RapidAPI subscription dashboard.

cURL

curl -X GET "https://url-inspector.p.rapidapi.com/inspect?url=https://example.com" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: url-inspector.p.rapidapi.com"

Node.js (fetch)

const response = await fetch("https://url-inspector.p.rapidapi.com/inspect?url=https://example.com", {
  headers: {
    "X-RapidAPI-Key": process.env.RAPIDAPI_KEY,
    "X-RapidAPI-Host": "url-inspector.p.rapidapi.com"
  }
});

const data = await response.json();
console.log(data);

Python (requests)

import requests

response = requests.get(
    "https://url-inspector.p.rapidapi.com/inspect?url=https://example.com",
    headers={
        "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
        "X-RapidAPI-Host": "url-inspector.p.rapidapi.com",
    },
)
print(response.json())

Response schema

{
  "url": "https://example.com",
  "status": 200,
  "final_url": "https://example.com/",
  "redirects": [],
  "title": "Example Domain"
}

Pricing

Free

Basic inspection quota

Pro

Higher inspection throughput

Enterprise

Monitoring-scale usage

Visit RapidAPI for live pricing, rate limits, and plan comparison.

FAQ

Does it execute JavaScript?

Inspection focuses on HTTP-level behavior; dynamic SPAs may require additional tooling.

Can I follow redirects?

Yes. Redirect chains are returned in the response payload.

Are timeouts configurable?

Check RapidAPI documentation for timeout and retry guidance per plan.

Can I inspect private URLs?

Only publicly reachable URLs should be inspected.

Is there a free tier?

Subscribe on RapidAPI to obtain your API key. Replace YOUR_RAPIDAPI_KEY with your subscription key.