Automatically extracts dates, location and address information, images and event descriptions from event pages.
Request
| Authentication | |
|---|---|
token | Cache and insert token into example requests (15d expiry) |
| Query parameters | |
|---|---|
url | Target URL to extract |
fields | Specify optional fields to be returned from any fully-extracted pages (e.g. One of: |
timeout | Sets a value in milliseconds to wait for the retrieval/fetch of content from the requested URL. The default timeout for the third-party response is 30 seconds (30000). |
callback | Use for jsonp requests. Needed for cross-domain ajax. |
proxy | Specify an IP address of a custom proxy that will be used to fetch the target page. (Ex: |
proxyAuth | Used to specify the authentication parameters that will be used with a custom proxy specified in the &proxy parameter. (Ex: |
useProxy | Set to |
Example request
curl --request GET \
--url 'https://api.diffbot.com/v3/event?url=https%3A%2F%2Fwww.eventbrite.com%2Fe%2Fgraphql-summit-2018-tickets-46601841362&token=<DIFFBOT_TOKEN>' \
--header 'Accept: application/json'
Response
| 200Successful API Response | |
|---|---|
request | |
pageUrl | |
api | |
version | |
objects | |
venue | |
images | |
naturalHeight | |
width | |
diffbotUri | |
url | |
naturalWidth | |
primary | |
height | |
timezoneOffset | |
endDate | |
endDateLocalTimezone | |
humanLanguage | |
diffbotUri | |
description | |
pageUrl | |
location | |
country | |
name | |
diffbotUri | |
websiteUris | |
targetDiffbotUri | |
surfaceForm | |
isCurrent | |
address | |
city | |
name | |
diffbotUri | |
websiteUris | |
targetDiffbotUri | |
surfaceForm | |
street | |
subregion | |
name | |
diffbotUri | |
websiteUris | |
targetDiffbotUri | |
surfaceForm | |
latitude | |
precision | |
postalCode | |
region | |
name | |
diffbotUri | |
websiteUris | |
targetDiffbotUri | |
surfaceForm | |
longitude | |
type | |
title | |
startDate | |
startDateLocalTimezone |
{
"request": {
"pageUrl": "https://www.eventbrite.com/e/graphql-summit-2018-tickets-46601841362",
"api": "event",
"version": 3
},
"objects": [
{
"venue": "The Regency Center",
"images": [
{
"naturalHeight": 0,
"width": 720,
"diffbotUri": "image|3|2088675194",
"url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F45534724%2F182934487936%2F1%2Foriginal.jpg?w=800&auto=compress&rect=0%2C0%2C2160%2C1080&s=e73c0be202c2cd939dcd3e809d96e093",
"naturalWidth": 0,
"primary": true,
"height": 360
}
],
"timezoneOffset": "-07:00",
"endDate": "Fri, 09 Nov 2018 01:00:00 GMT",
"endDateLocalTimezone": "Thu, 08 Nov 2018 17:00:00",
"humanLanguage": "en",
"diffbotUri": "event|3|-2069254052",
"description": "Join over 850 developers at the 3rd annual GraphQL Summit, the world's largest conference dedicated to GraphQL. Whether you're just getting started or a veteran GraphQL practitioner, this is the must-attend developer conference of the year.\nChoose from 40+ sessions across two tracks at one of San Francisco's most historic event venues\nSee how teams at top startups and enterprises are modernizing their platforms by using GraphQL in complex production environments\nHear where the technology is heading next, directly from the leaders of GraphQL's major open source projects\nMeet top solution providers from around the world - all under one roof.\nEnroll in hands-on workshops and classroom training to boost your skills to get the most out of GraphQL.\nGraphQL Summit Day Code of Conduct\nWe believe our community and events should be truly open for everyone. As such, we are committed to providing a friendly, safe, and welcoming environment for all, regardless of gender, sexual orientation, disability, ethnicity, or religion. Our event code of conduct outlines our expectations for participant behavior, as well as the consequences for unacceptable behavior.\n*GraphQL Summit is hosted at the Regency Center which is an accessible space with elevator access*",
"pageUrl": "https://archives.diffbot.com/replay/4F02A5A651C6767544362C27B1D9BAC1/",
"location": {
"country": {
"name": "United States",
"diffbotUri": "http://diffbot.com/entity/A01d4EK33MmCosgI2KXa4-A",
"websiteUris": [
"wikidata.org/entity/Q30"
],
"targetDiffbotUri": "http://diffbot.com/entity/A01d4EK33MmCosgI2KXa4-A",
"surfaceForm": "United States"
},
"isCurrent": true,
"address": "1300 Van Ness Ave, San Francisco, California",
"city": {
"name": "San Francisco",
"diffbotUri": "http://diffbot.com/entity/A8AV-O2v0MBuACAY7pFZzbg",
"websiteUris": [
"wikidata.org/entity/Q62"
],
"targetDiffbotUri": "http://diffbot.com/entity/A8AV-O2v0MBuACAY7pFZzbg",
"surfaceForm": "San Francisco"
},
"street": "1300 Van Ness Ave",
"subregion": {
"name": "San Francisco County",
"diffbotUri": "http://diffbot.com/entity/A8AV-O2v0MBuACAY7pFZzbg",
"websiteUris": [
"wikidata.org/entity/Q62"
],
"targetDiffbotUri": "http://diffbot.com/entity/A8AV-O2v0MBuACAY7pFZzbg",
"surfaceForm": "San Francisco County"
},
"latitude": 37.78785705566406,
"precision": 0.10000000149011612,
"postalCode": "94109",
"region": {
"name": "California",
"diffbotUri": "http://diffbot.com/entity/Al0_8ehooNxOPT36Y4RdV9w",
"websiteUris": [
"wikidata.org/entity/Q99"
],
"targetDiffbotUri": "http://diffbot.com/entity/Al0_8ehooNxOPT36Y4RdV9w",
"surfaceForm": "California"
},
"longitude": -122.42138671875
},
"type": "event",
"title": "GraphQL Summit 2018",
"startDate": "Wed, 07 Nov 2018 16:30:00 GMT",
"startDateLocalTimezone": "Wed, 07 Nov 2018 08:30:00"
}
]
}
| 500Internal Server Error | |
|---|---|
errorCode | |
error |
{
"errorCode": 500,
"error": "Internal Server Error"
}