Skip to main content
POST
/
api
/
afishafi
/
events
/afishafi/events
curl --request POST \
  --url https://api.anysite.io/api/afishafi/events \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "event": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "AfishafiEvent",
    "description": "<string>",
    "start_at": "<string>",
    "end_at": "<string>",
    "city": "<string>",
    "organizer": "<string>",
    "price": 123,
    "currency": "<string>",
    "ticket_url": "<string>",
    "images": [],
    "view_count": 123,
    "source_url": "<string>",
    "lang": "ru"
  }
]

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:

"597069"

"https://www.afisha.fi/event/597069"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:AfishafiEvent
description
string | null
start_at
string | null
end_at
string | null
city
string | null
organizer
string | null
price
number | null
currency
string | null
ticket_url
string | null
images
string[]
view_count
integer | null
source_url
string | null
lang
string
default:ru