<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Diffbot &#8211; iAIFeed</title>
	<atom:link href="https://www.iaifeed.com/tag/diffbot/feed" rel="self" type="application/rss+xml" />
	<link>https://www.iaifeed.com</link>
	<description>iAIFeed</description>
	<lastBuildDate>Thu, 26 Nov 2026 01:17:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.iaifeed.com/wp-content/uploads/2026/07/cropped-iaifeed1-80x80.png</url>
	<title>Diffbot &#8211; iAIFeed</title>
	<link>https://www.iaifeed.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Choose a Crawler Endpoint and Cut Crawl Costs</title>
		<link>https://www.iaifeed.com/how-to-choose-a-crawler-endpoint-and-cut-crawl-costs</link>
					<comments>https://www.iaifeed.com/how-to-choose-a-crawler-endpoint-and-cut-crawl-costs#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Tue, 24 Nov 2026 12:47:36 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Diffbot]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-choose-diffbot-endpoints-and-cut-crawl-costs</guid>

					<description><![CDATA[Full render, JavaScript or plain HTML: each costs differently. Use the cheapest endpoint that still gets you the content, and only render pages that need it.]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> crawls the web on its own and returns structured data — entity pages, article text, product records — rather than raw HTML. You call an API endpoint with a URL and get back JSON with fields already extracted.</p>
<p>The earlier article covered the Knowledge Graph API. This one covers the practical API mechanics: choosing between endpoints, writing extraction rules that survive redesigns, and controlling spend.</p>
<h2 id="which-diffbot-endpoint-fits-your-job">Which Diffbot endpoint fits your job?</h2>
<p>Four do most of the work.</p>
<ul>
<li><strong>Analyze</strong> — one endpoint, auto-detects page type, returns article, product, discussion or image data. Best first call for unknown URLs.</li>
<li><strong>Article</strong> — for news and blog content. Returns title, author, date, text, tags. Cheaper and more predictable than Analyze for a known corpus.</li>
<li><strong>Product</strong> — price, availability, SKU, variants. Quality varies by site; e-commerce markup differs a lot.</li>
<li><strong>Knowledge Graph</strong> — entity lookup by name or URL for organisations, people and products, with structured attributes.</li>
</ul>
<p>Start with Analyze, then move to the specific endpoint once you know the page types. Specific endpoints cost less and produce fewer surprises.</p>
<h2 id="when-do-you-need-custom-extraction-rules">When do you need custom extraction rules?</h2>
<p>When the page has fields Diffbot&#8217;s defaults miss — a spec table on a niche site, a price inside a widget.</p>
<p>Custom rules target CSS selectors or XPath, and Diffbot merges them with the default extraction. This is the right tool for a small number of high-value sources.</p>
<p>The failure mode is brittleness. A selector like <code>div.product &gt; div:nth-child(3) &gt; span</code> breaks on the next redesign. Prefer stable anchors — IDs, data attributes, semantic markup — over positional selectors.</p>
<p>Test rules against ten sample URLs from the same site, not one. Sites render categories differently more often than you would think.</p>
<h2 id="how-do-you-keep-crawl-costs-predictable">How do you keep crawl costs predictable?</h2>
<p>Diffbot bills by API calls, and crawling a large site can burn calls fast because every page is a call.</p>
<p>Three controls. Set a per-job cap so a crawl cannot run away. Deduplicate URLs before crawling — the same article reached through four category paths gets fetched once. And cache extraction results; most news and product data does not change within a day, so a 24-hour cache is usually safe.</p>
<p>For repeated pulls of the same domains, a scheduled crawl with a defined URL list beats ad-hoc single-page calls both on cost and consistency.</p>
<h2 id="what-quality-checks-should-run-in-production">What quality checks should run in production?</h2>
<p>Store the raw page alongside the extracted record for a sample of URLs. When a field looks wrong, you need to see what the page actually said.</p>
<p>Track field-level null rates. A field that goes from 2% null to 40% null on a domain usually means the site changed, and the pattern is visible before anyone complains about bad data.</p>
<p>Validate types on ingest. A price extracted as a string with a currency symbol will quietly poison a numeric column.</p>
<h2 id="when-is-diffbot-the-wrong-choice">When is Diffbot the wrong choice?</h2>
<p>For a handful of pages a week. Manual copy-paste or a small scraper is cheaper and simpler.</p>
<p>For sites behind login walls or heavy anti-bot protection. That is not what the crawler is built for.</p>
<p>And where content is user-generated and unstructured enough that no schema fits — social posts and comments often return partial data no matter which tool crawls them.</p>
<h2 id="quick-summary">Quick Summary</h2>
<ul>
<li>Diffbot returns structured JSON from web pages, not raw HTML.</li>
<li>Use Analyze first, then specific endpoints for known page types.</li>
<li>Custom rules should anchor on IDs and data attributes, not positional selectors.</li>
<li>Deduplicate URLs and cache 24 hours to keep call counts predictable.</li>
<li>Track null rates per field to catch site changes early.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-choose-a-crawler-endpoint-and-cut-crawl-costs/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Extract Structured Web Data with the Diffbot Knowledge Graph API</title>
		<link>https://www.iaifeed.com/how-to-extract-structured-web-data-diffbot-knowledge-graph-api</link>
					<comments>https://www.iaifeed.com/how-to-extract-structured-web-data-diffbot-knowledge-graph-api#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Wed, 09 Sep 2026 12:16:31 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Diffbot]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-extract-structured-web-data-diffbot-knowledge-graph-api</guid>

					<description><![CDATA[Learn how to use Diffbot's Analyze API, Crawlbot, and Knowledge Graph to extract clean structured data from the web for research and enrichment.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Scraping the web reliably is hard because every site has a different layout, and layouts change without warning. <strong>Diffbot</strong> solves that by using computer vision and NLP to <strong>extract structured web data</strong> automatically. Instead of hand-writing parsers, you call an API and get clean JSON. This guide shows how to pull structured content and query the <a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> Knowledge Graph for research and enrichment.</p>



<h2 class="wp-block-heading">Understand the Diffbot APIs</h2>



<p class="wp-block-paragraph"><a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> offers a few core products. The Analyze API reads any URL and classifies the page while extracting entities. Product, Article, and other specialized APIs return deeply structured fields for specific page types. The Knowledge Graph lets you query billions of linked entities. Deciding which you need first keeps your work focused and your costs predictable.</p>



<h2 class="wp-block-heading">Step 1: Get Your Token and Try the Analyze API</h2>



<p class="wp-block-paragraph">Sign up at <a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> and locate your developer token. Run a quick request to the Analyze endpoint with the token and a sample URL to see the returned JSON. You will notice the API classifies the page type and extracts key fields such as title, author, and text. This is the fastest way to confirm parsed output before you build anything.</p>



<h2 class="wp-block-heading">Step 2: Extract Structured Data From a Single Page</h2>



<p class="wp-block-paragraph">Point the appropriate <a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> endpoint at a real page, such as a product listing or an article. The response includes typed fields relevant to that content type. Store the returned JSON as-is rather than flattening it early, because you can reshape it later. If a field you need is missing, check whether the page uses dynamic JavaScript, which may change how extraction behaves.</p>



<h2 class="wp-block-heading">Step 3: Set Up a Crawlbot Crawl for Many Pages</h2>



<p class="wp-block-paragraph">When you need data from many URLs, define a crawl in the <a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> Crawlbot rather than looping over single requests. Give the crawl a seed URL or sitemap, a name, and a processing endpoint. Crawlbot follows links within your rules and sends each page through the extraction API automatically. Monitor the crawl queue and pause it whenever you want to adjust rules or check output quality.</p>



<h2 class="wp-block-heading">Step 4: Query the Knowledge Graph</h2>



<p class="wp-block-paragraph">For entity-level research, use the <a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> Knowledge Graph query API. You supply a search or a structured query describing an entity type and its properties, and Diffbot returns matching entities with their linked facts. This works well for market research, lead lists, and competitive intelligence because results are normalized rather than raw page text.</p>



<h2 class="wp-block-heading">Step 5: Clean and Store Your Results</h2>



<p class="wp-block-paragraph">Pipeline the returned JSON into your database, deduplicating by a stable identifier such as a canonical URL or entity ID. Validate required fields and drop empty rows early. Because <a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> returns consistent structure, loading into a relational store or a data warehouse is straightforward. Schedule incremental crawls so your dataset stays fresh.</p>



<h2 class="wp-block-heading">Best Practices</h2>



<p class="wp-block-paragraph">Respect rate limits and crawl responsibly by reviewing <a href="https://www.iaifeed.com/ai-tool/diffbot">Diffbot</a> documentation for your plan. Test on a handful of representative pages before launching large crawls, and watch for pages that need JavaScript rendering. Keep your token secure. Finally, remember that extracted data reflects the source site, so run your own quality checks for fields that drive important decisions.</p>

]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-extract-structured-web-data-diffbot-knowledge-graph-api/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
