Quick Start

Get started with NextRows in minutes

NextRows API is an AI-powered web data extraction service that allows you to extract structured data from any website using natural language. Get started in minutes and scrape even the most complex websites.

Need an API key? Sign up at nextrows.com/dashboard to get your free API key.

What is NextRows?

NextRows combines the power of AI and smart content processing to extract structured data from websites. Whether you're dealing with:

  • E-commerce product listings
  • Job boards and directories
  • News articles and blogs
  • Social media feeds
  • Financial data
  • Any tabular or structured web content

NextRows can understand your requirements and extract the data you need.

Key Features

Natural Language Extraction

Describe what data you want in natural language, and NextRows will extract it automatically.

Schema Validation

Ensures extracted data matches your expected structure with built-in validation.

Getting Started

Get Your API Key

  1. Sign up at nextrows.com/dashboard
  2. Navigate to the API Keys section
  3. Create your API key (starts with sk-nr-)

Make Your First Request

Use this simple example to extract data from any webpage:

cURL
curl -X POST https://api.nextrows.com/v1/extract \
  -H "Authorization: Bearer sk-nr-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "url",
    "data": ["https://example.com/products"],
    "prompt": "Extract product names, prices, and descriptions"
  }'
Python
import requests

url = "https://api.nextrows.com/v1/extract"
headers = {
    "Authorization": "Bearer sk-nr-your-api-key",
    "Content-Type": "application/json"
}
data = {
    "type": "url",
    "data": ["https://example.com/products"],
    "prompt": "Extract product names, prices, and descriptions"
}

response = requests.post(url, headers=headers, json=data)
print(response.json())
JavaScript
const response = await fetch('https://api.nextrows.com/v1/extract', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer sk-nr-your-api-key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    type: 'url',
    data: ['https://example.com/products'],
    prompt: 'Extract product names, prices, and descriptions'
  })
});

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

Understand the Response

NextRows returns structured data in JSON format:

{
  "success": true,
  "data": [
    {
      "product_name": "Wireless Headphones",
      "price": "$99.99",
      "description": "High-quality wireless headphones with noise cancellation"
    },
    {
      "product_name": "Smart Watch",
      "price": "$299.99", 
      "description": "Feature-rich smartwatch with health tracking"
    }
  ]
}

Next Steps

Now that you've made your first request, explore these guides:

Need Help?