import.io API

Development / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

import.io is a web scraping and data extraction API that lets you retrieve structured data from any website or RSS feed programmatically. It handles the complexity of HTML parsing and delivers clean, structured JSON output without writing custom scrapers. This is useful for building data pipelines, price monitors, or content aggregators.

💡

Beginner Tip

Start with simple public pages before attempting login-protected sites. import.io works best with consistently structured pages like product listings or news feeds.

Available Data

import.io data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from import.io",
    "description": "Retrieve structured data from a website or RSS feed",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

guid Unique identifier for the connector or extraction
name Human-readable name of the connector
extractionType Type of extraction method used (e.g., API, magic)
sources List of URLs or URL patterns the connector targets
fields Column definitions describing extracted data fields

Implementation Example

const url = "http://api.docs.import.io/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Missing or invalid API key in the request header
Include your API key as a query parameter: ?_apikey=YOUR_API_KEY as specified in the docs
Empty or incomplete data returned The page relies on JavaScript rendering that the extractor did not capture
Use the magic API endpoint with renderJavascript=true to enable JS rendering for dynamic pages
429 Rate Limit Exceeded Too many requests sent in a short time window
Add delays between requests and check your plan limits; consider batching URLs where supported

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Development
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →