Optional Fields

Available with Extract APIs using the &fields= parameter

These fields are not included in the output of any Extract APIs by default, but are accessible by specifying a comma-delimited list of fields in the &fields= parameter of any Extract API.

Example Request

curl --request GET \
     --url 'https://api.diffbot.com/v3/analyze?url=https%3A%2F%2Fwww.diffbot.com&fields=links&token=4053a259104f47cf9aaa3ec9e36934b7' \
     --header 'Accept: application/json'

Available Optional Fields

Field

Description

links

Returns a top-level object (links) containing all visible hyperlinks found on the page.

extlinks

Returns a top-level object (links) containing every hyperlink found on the page (visible or not).

meta

Returns a top-level object (meta) containing the full contents of page meta tags, including sub-arrays for OpenGraph tags, Twitter Card metadata, schema.org microdata, and oEmbed metadata (if available).

querystring

Returns any key/value pairs present in the URL querystring. Items without a discrete value will be returned as true.

breadcrumb

Returns a top-level array (breadcrumb) of URLs and link text from page breadcrumbs.