Skip to main content
POST
/
api
/
nashvancouver
/
events
/
search
/nashvancouver/events/search
curl --request POST \
  --url https://api.anysite.io/api/nashvancouver/events/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "<string>"
}
'
[
  {
    "id": "<string>",
    "@type": "NashvancouverEvent",
    "description": "<string>",
    "category": "<string>",
    "category_alias": "<string>",
    "start_at": "<string>",
    "end_at": "<string>",
    "venue": "<string>",
    "address": "<string>",
    "map_url": "<string>",
    "contact_name": "<string>",
    "phone": "<string>",
    "website": "<string>",
    "city": "Vancouver",
    "country": "Canada",
    "price": 123,
    "currency": "<string>",
    "ticket_url": "<string>",
    "image": "<string>",
    "related_ids": [],
    "source_url": "<string>",
    "lang": "ru"
  }
]

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
category
enum<string> | null

Restrict to an events category; with no category the full upcoming-events listing is used

Available options:
concert,
show,
festival,
past
keyword
string | null

Free-text query to search events by

Minimum string length: 1

Response

Successful Response

id
string
required
@type
string
default:NashvancouverEvent
description
string | null
category
string | null
category_alias
string | null
start_at
string | null
end_at
string | null
venue
string | null
address
string | null
map_url
string | null
contact_name
string | null
phone
string | null
website
string | null
city
string
default:Vancouver
country
string
default:Canada
price
number | null
currency
string | null
ticket_url
string | null
image
string | null
source_url
string | null
lang
string
default:ru