Skip to main content
POST
/
api
/
afishaboston
/
events
/
search
/afishaboston/events/search
curl --request POST \
  --url https://api.anysite.io/api/afishaboston/events/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "Незлобин",
  "start_date": "2026-09-01",
  "end_date": "2026-12-31"
}
'
[
  {
    "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
count
integer
required

Max number of events to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
keyword
string | null

Filter events by a substring of the title

Example:

"Незлобин"

start_date
string | null

Keep only events on or after this date (YYYY-MM-DD)

Example:

"2026-09-01"

end_date
string | null

Keep only events on or before this date (YYYY-MM-DD)

Example:

"2026-12-31"

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