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=<YOURTOKEN>' \
     --header 'Accept: application/json'

Available Optional Fields

linksReturns a top-level object (links) containing all visible hyperlinks found on the page.
extlinksReturns a top-level object (links) containing every hyperlink found on the page (visible or not).
metaReturns 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).
querystringReturns any key/value pairs present in the URL querystring. Items without a discrete value will be returned as true.
breadcrumbReturns a top-level array (breadcrumb) of URLs and link text from page breadcrumbs.