Skip to main content
POST
/
api
/
afishaboston
/
events
/afishaboston/events
curl --request POST \
  --url https://api.anysite.io/api/afishaboston/events \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "event": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "AfishabostonEvent",
    "description": "<string>",
    "image": "<string>",
    "start_at": "<string>",
    "end_at": "<string>",
    "event_status": "<string>",
    "price_min": 123,
    "price_max": 123,
    "currency": "<string>",
    "tickets": [],
    "venue": {
      "@type": "AfishabostonVenue",
      "name": "<string>",
      "address": "<string>",
      "city": "<string>",
      "state": "<string>",
      "postcode": "<string>",
      "country": "<string>"
    },
    "organizer": {
      "@type": "AfishabostonOrganizer",
      "name": "<string>",
      "url": "<string>"
    },
    "refund_policy": "<string>",
    "ticket_url": "<string>",
    "source_url": "<string>",
    "lang": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
event
string
required

Event id or event page URL

Minimum string length: 1
Examples:

"2202681"

"https://buy.afishaboston.com/events/afishaboston/2202681"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:AfishabostonEvent
description
string | null
image
string | null
start_at
string | null
end_at
string | null
event_status
string | null
price_min
number | null
price_max
number | null
currency
string | null
tickets
object[]
venue
object
organizer
object
refund_policy
string | null
ticket_url
string | null
source_url
string | null
lang
string | null