Analyze competitor backlink profiles, discover link building opportunities, and monitor your link acquisition efforts.
Quality backlinks remain one of the most important ranking factors. Understanding your competitors' link profiles reveals opportunities to improve your own SEO performance.
Premium backlink tools are expensive and often have API limitations. You need flexible link data extraction that works at scale.
Comprehensive backlink intelligence
Extract all outbound links, anchor text, and link attributes from pages.
Analyze competitor pages to find their link sources.
Find resource pages, directories, and link opportunities.
Analyze what content earns the most links.
Extract backlink data
curl -G "https://api.webscraping.ai/ai/fields" \
--data-urlencode "api_key=YOUR_API_KEY" \
--data-urlencode "url=https://industry-blog.com/best-tools-2024" \
--data-urlencode "fields[page_title]=Page title" \
--data-urlencode "fields[outbound_links]=Array of all external links with URL and anchor text" \
--data-urlencode "fields[dofollow_links]=External links that are dofollow" \
--data-urlencode "fields[nofollow_links]=External links that are nofollow" \
--data-urlencode "fields[link_categories]=Categorize the linked sites (tools, resources, competitors)" \
--data-urlencode "fields[author]=Article author if shown" \
--data-urlencode "fields[publish_date]=Publication date"
# Response:
# {
# "page_title": "Best Marketing Tools for 2024",
# "outbound_links": [
# {"url": "https://tool1.com", "anchor": "Tool One"},
# {"url": "https://tool2.com", "anchor": "another great option"}
# ],
# "dofollow_links": ["https://tool1.com", "https://tool2.com"],
# "nofollow_links": ["https://affiliate-link.com"],
# "link_categories": {
# "tools": ["tool1.com", "tool2.com"],
# "resources": ["resource-site.com"]
# },
# "author": "Jane Smith",
# "publish_date": "2024-01-15"
# }
# pip install webscraping_ai
# https://pypi.org/project/webscraping-ai/
from webscraping_ai import Client
client = Client(api_key="YOUR_API_KEY")
result = client.fields(
"https://industry-blog.com/best-tools-2024",
fields={
"page_title": "Page title",
"outbound_links": "Array of all external links with URL and anchor text",
"dofollow_links": "External links that are dofollow",
"nofollow_links": "External links that are nofollow",
"link_categories": "Categorize the linked sites (tools, resources, competitors)",
"author": "Article author if shown",
"publish_date": "Publication date",
},
)
print(result)
# Response:
# {
# "page_title": "Best Marketing Tools for 2024",
# "outbound_links": [
# {"url": "https://tool1.com", "anchor": "Tool One"},
# {"url": "https://tool2.com", "anchor": "another great option"}
# ],
# "dofollow_links": ["https://tool1.com", "https://tool2.com"],
# "nofollow_links": ["https://affiliate-link.com"],
# "link_categories": {
# "tools": ["tool1.com", "tool2.com"],
# "resources": ["resource-site.com"]
# },
# "author": "Jane Smith",
# "publish_date": "2024-01-15"
# }
// npm install webscraping-ai
// https://www.npmjs.com/package/webscraping-ai
import { WebScrapingAI } from 'webscraping-ai';
const client = new WebScrapingAI({ apiKey: 'YOUR_API_KEY' });
const result = await client.fields({
url: 'https://industry-blog.com/best-tools-2024',
fields: {
page_title: 'Page title',
outbound_links: 'Array of all external links with URL and anchor text',
dofollow_links: 'External links that are dofollow',
nofollow_links: 'External links that are nofollow',
link_categories: 'Categorize the linked sites (tools, resources, competitors)',
author: 'Article author if shown',
publish_date: 'Publication date',
},
});
console.log(result);
// Response:
// {
// "page_title": "Best Marketing Tools for 2024",
// "outbound_links": [
// {"url": "https://tool1.com", "anchor": "Tool One"},
// {"url": "https://tool2.com", "anchor": "another great option"}
// ],
// "dofollow_links": ["https://tool1.com", "https://tool2.com"],
// "nofollow_links": ["https://affiliate-link.com"],
// "link_categories": {
// "tools": ["tool1.com", "tool2.com"],
// "resources": ["resource-site.com"]
// },
// "author": "Jane Smith",
// "publish_date": "2024-01-15"
// }
<?php
// composer require webscraping-ai/webscraping-ai-php
// https://packagist.org/packages/webscraping-ai/webscraping-ai-php
require 'vendor/autoload.php';
use WebScrapingAI\Client;
$client = new Client('YOUR_API_KEY');
$result = $client->fields('https://industry-blog.com/best-tools-2024', [
'page_title' => 'Page title',
'outbound_links' => 'Array of all external links with URL and anchor text',
'dofollow_links' => 'External links that are dofollow',
'nofollow_links' => 'External links that are nofollow',
'link_categories' => 'Categorize the linked sites (tools, resources, competitors)',
'author' => 'Article author if shown',
'publish_date' => 'Publication date',
]);
print_r($result);
// Response:
// {
// "page_title": "Best Marketing Tools for 2024",
// "outbound_links": [
// {"url": "https://tool1.com", "anchor": "Tool One"},
// {"url": "https://tool2.com", "anchor": "another great option"}
// ],
// "dofollow_links": ["https://tool1.com", "https://tool2.com"],
// "nofollow_links": ["https://affiliate-link.com"],
// "link_categories": {
// "tools": ["tool1.com", "tool2.com"],
// "resources": ["resource-site.com"]
// },
// "author": "Jane Smith",
// "publish_date": "2024-01-15"
// }
# gem install webscraping_ai
# https://rubygems.org/gems/webscraping_ai
require 'webscraping_ai'
client = WebScrapingAI::Client.new(api_key: 'YOUR_API_KEY')
result = client.fields(
'https://industry-blog.com/best-tools-2024',
fields: {
page_title: 'Page title',
outbound_links: 'Array of all external links with URL and anchor text',
dofollow_links: 'External links that are dofollow',
nofollow_links: 'External links that are nofollow',
link_categories: 'Categorize the linked sites (tools, resources, competitors)',
author: 'Article author if shown',
publish_date: 'Publication date',
}
)
puts result.inspect
# Response:
# {
# "page_title": "Best Marketing Tools for 2024",
# "outbound_links": [
# {"url": "https://tool1.com", "anchor": "Tool One"},
# {"url": "https://tool2.com", "anchor": "another great option"}
# ],
# "dofollow_links": ["https://tool1.com", "https://tool2.com"],
# "nofollow_links": ["https://affiliate-link.com"],
# "link_categories": {
# "tools": ["tool1.com", "tool2.com"],
# "resources": ["resource-site.com"]
# },
# "author": "Jane Smith",
# "publish_date": "2024-01-15"
# }
// go get github.com/webscraping-ai/webscraping-ai-go/v4
// https://pkg.go.dev/github.com/webscraping-ai/webscraping-ai-go/v4
package main
import (
"context"
"fmt"
webscrapingai "github.com/webscraping-ai/webscraping-ai-go/v4"
)
func main() {
client, _ := webscrapingai.NewClient(&webscrapingai.Config{APIKey: "YOUR_API_KEY"})
result, _ := client.Fields(context.Background(), &webscrapingai.FieldsOptions{
URL: "https://industry-blog.com/best-tools-2024",
Fields: map[string]string{
"page_title": "Page title",
"outbound_links": "Array of all external links with URL and anchor text",
"dofollow_links": "External links that are dofollow",
"nofollow_links": "External links that are nofollow",
"link_categories": "Categorize the linked sites (tools, resources, competitors)",
"author": "Article author if shown",
"publish_date": "Publication date",
},
})
fmt.Println(result.Result)
}
// Response:
// {
// "page_title": "Best Marketing Tools for 2024",
// "outbound_links": [
// {"url": "https://tool1.com", "anchor": "Tool One"},
// {"url": "https://tool2.com", "anchor": "another great option"}
// ],
// "dofollow_links": ["https://tool1.com", "https://tool2.com"],
// "nofollow_links": ["https://affiliate-link.com"],
// "link_categories": {
// "tools": ["tool1.com", "tool2.com"],
// "resources": ["resource-site.com"]
// },
// "author": "Jane Smith",
// "publish_date": "2024-01-15"
// }
// Maven: ai.webscraping:webscraping-ai:4.0.0
// https://central.sonatype.com/artifact/ai.webscraping/webscraping-ai
import ai.webscraping.Client;
import ai.webscraping.Config;
import ai.webscraping.option.FieldsOptions;
import ai.webscraping.result.FieldsResult;
Client client = new Client(Config.builder().apiKey("YOUR_API_KEY").build());
FieldsResult result = client.fields(FieldsOptions.builder()
.url("https://industry-blog.com/best-tools-2024")
.addField("page_title", "Page title")
.addField("outbound_links", "Array of all external links with URL and anchor text")
.addField("dofollow_links", "External links that are dofollow")
.addField("nofollow_links", "External links that are nofollow")
.addField("link_categories", "Categorize the linked sites (tools, resources, competitors)")
.addField("author", "Article author if shown")
.addField("publish_date", "Publication date")
.build());
System.out.println(result.getResult());
// Response:
// {
// "page_title": "Best Marketing Tools for 2024",
// "outbound_links": [
// {"url": "https://tool1.com", "anchor": "Tool One"},
// {"url": "https://tool2.com", "anchor": "another great option"}
// ],
// "dofollow_links": ["https://tool1.com", "https://tool2.com"],
// "nofollow_links": ["https://affiliate-link.com"],
// "link_categories": {
// "tools": ["tool1.com", "tool2.com"],
// "resources": ["resource-site.com"]
// },
// "author": "Jane Smith",
// "publish_date": "2024-01-15"
// }
// dotnet add package WebScrapingAI
// https://www.nuget.org/packages/WebScrapingAI
using WebScrapingAI;
var client = new WebScrapingAIClient(new WebScrapingAIClientOptions { ApiKey = "YOUR_API_KEY" });
var result = await client.FieldsAsync(new FieldsRequest {
Url = "https://industry-blog.com/best-tools-2024",
Fields = new Dictionary<string, string> {
["page_title"] = "Page title",
["outbound_links"] = "Array of all external links with URL and anchor text",
["dofollow_links"] = "External links that are dofollow",
["nofollow_links"] = "External links that are nofollow",
["link_categories"] = "Categorize the linked sites (tools, resources, competitors)",
["author"] = "Article author if shown",
["publish_date"] = "Publication date",
},
});
Console.WriteLine(result.Result);
// Response:
// {
// "page_title": "Best Marketing Tools for 2024",
// "outbound_links": [
// {"url": "https://tool1.com", "anchor": "Tool One"},
// {"url": "https://tool2.com", "anchor": "another great option"}
// ],
// "dofollow_links": ["https://tool1.com", "https://tool2.com"],
// "nofollow_links": ["https://affiliate-link.com"],
// "link_categories": {
// "tools": ["tool1.com", "tool2.com"],
// "resources": ["resource-site.com"]
// },
// "author": "Jane Smith",
// "publish_date": "2024-01-15"
// }
curl -G "https://api.webscraping.ai/ai/question" \
--data-urlencode "api_key=YOUR_API_KEY" \
--data-urlencode "url=https://industry-blog.com/best-tools-2024" \
--data-urlencode "question=What types of sites does this page link to? What would a site need to be included here? How could I get a link from this page?"
# pip install webscraping_ai
# https://pypi.org/project/webscraping-ai/
from webscraping_ai import Client
client = Client(api_key="YOUR_API_KEY")
answer = client.question(
"https://industry-blog.com/best-tools-2024",
question="What types of sites does this page link to? What would a site need to be included here? How could I get a link from this page?",
)
print(answer)
// npm install webscraping-ai
// https://www.npmjs.com/package/webscraping-ai
import { WebScrapingAI } from 'webscraping-ai';
const client = new WebScrapingAI({ apiKey: 'YOUR_API_KEY' });
const answer = await client.question({
url: 'https://industry-blog.com/best-tools-2024',
question: 'What types of sites does this page link to? What would a site need to be included here? How could I get a link from this page?',
});
console.log(answer);
<?php
// composer require webscraping-ai/webscraping-ai-php
// https://packagist.org/packages/webscraping-ai/webscraping-ai-php
require 'vendor/autoload.php';
use WebScrapingAI\Client;
$client = new Client('YOUR_API_KEY');
$answer = $client->question(
'https://industry-blog.com/best-tools-2024',
'What types of sites does this page link to? What would a site need to be included here? How could I get a link from this page?',
);
echo $answer;
# gem install webscraping_ai
# https://rubygems.org/gems/webscraping_ai
require 'webscraping_ai'
client = WebScrapingAI::Client.new(api_key: 'YOUR_API_KEY')
answer = client.question(
'https://industry-blog.com/best-tools-2024',
question: 'What types of sites does this page link to? What would a site need to be included here? How could I get a link from this page?'
)
puts answer
// go get github.com/webscraping-ai/webscraping-ai-go/v4
// https://pkg.go.dev/github.com/webscraping-ai/webscraping-ai-go/v4
package main
import (
"context"
"fmt"
webscrapingai "github.com/webscraping-ai/webscraping-ai-go/v4"
)
func main() {
client, _ := webscrapingai.NewClient(&webscrapingai.Config{APIKey: "YOUR_API_KEY"})
answer, _ := client.Question(context.Background(), &webscrapingai.QuestionOptions{
URL: "https://industry-blog.com/best-tools-2024",
Question: "What types of sites does this page link to? What would a site need to be included here? How could I get a link from this page?",
})
fmt.Println(answer)
}
// Maven: ai.webscraping:webscraping-ai:4.0.0
// https://central.sonatype.com/artifact/ai.webscraping/webscraping-ai
import ai.webscraping.Client;
import ai.webscraping.Config;
import ai.webscraping.option.QuestionOptions;
Client client = new Client(Config.builder().apiKey("YOUR_API_KEY").build());
String answer = client.question(QuestionOptions.builder()
.url("https://industry-blog.com/best-tools-2024")
.question("What types of sites does this page link to? What would a site need to be included here? How could I get a link from this page?")
.build());
System.out.println(answer);
// dotnet add package WebScrapingAI
// https://www.nuget.org/packages/WebScrapingAI
using WebScrapingAI;
var client = new WebScrapingAIClient(new WebScrapingAIClientOptions { ApiKey = "YOUR_API_KEY" });
var answer = await client.QuestionAsync(new QuestionRequest {
Url = "https://industry-blog.com/best-tools-2024",
Question = "What types of sites does this page link to? What would a site need to be included here? How could I get a link from this page?",
});
Console.WriteLine(answer);
See where competitors get their links
Find pages that link to similar content
Find broken outbound links to replace
See what content earns the most links
More SEO & marketing solutions
Get started with 1,000 free API credits. No credit card required.