AI Links
Intelligent link extraction and filtering
AI Links extracts and filters links from webpages using natural language. Describe the types of links you want to find and the AI will intelligently filter, categorize, and rank them without complex CSS selectors.
POST
Full API Docs/ai/linksFEATURES
Capabilities
AI-guided link filtering
Category detection
Relevance ranking
Deep link discovery
Domain filtering
Bulk extraction
USE CASES
Example Prompts
Product pages
prompt: "Find all links to product pages and pricing"
Documentation
prompt: "Extract links to API docs and developer guides"
Navigation mapping
prompt: "Find all main navigation and footer links"
Media resources
prompt: "Extract links to downloadable PDFs and images"
API
Parameters
| Name | Type | Status | Description |
|---|---|---|---|
| url | string | required | URL to extract links from |
| prompt | string | required | Natural language description of what links to find |
| limit | number | optional | Maximum links to return |
| depth | number | optional | Crawl depth for finding links |
CODE
Code Examples
curl -X POST https://api.spider.cloud/ai/links \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"prompt": "Find all links to product pages and documentation",
"limit": 100
}'Ready to use AI Links?
Start extracting data with natural language prompts. No complex selectors or scripts needed.