← Back to Dashboard

import.io

DevelopmentActiveCORS ReadyUnknownAuth: API KeyDoc: Swagger/OpenAPI
Swagger DocumentationVisit Website ↗

Description

Retrieve structured data from a website or RSS feed

✨ AI Summary

Retrieve structured data from any website or RSS feed programmatically.

Code Example

import requests
import json

api_endpoint = "https://api.import.io/v1/extract"
target_url = "https://www.example.com"
api_key = "YOUR_API_KEY"

headers = {
    "Content-Type": "application/json",
    "x-api-key": api_key
}
payload = {
    "url": target_url
}

try:
    response = requests.post(api_endpoint, headers=headers, json=payload)
    response.raise_for_status() # Raise an HTTPError for bad responses (4xx or 5xx)
    print(response.json())
except requests.exceptions.RequestException as e:
    print(f"An error occurred: {e}")

Live Health Metrics

Last 50 checks (10 min intervals)