Generate New Discovery
Testing
POST
https://insight.lineupiq.io/api/v1/discovery
DiscoveryInsightPredictionsArtist Intelligence
Request
Header Params
Content-Type
string
optional
Example:
application/json
x-app-id
string <password>
required
Default:
{{x-app-id}}
x-api-key
string <password>
required
Default:
{{x-api-key}}
Body Params application/json
venue_name
string
required
Example:
Union Hall
venue_id
integer
optional
Example:
8000000
venue_capacity
integer
required
Example:
3000
event_date
string <date-time>
required
lat_long
string
optional
Example:
-44.84011, 153.55179
address
string
optional
Example:
6240 99 Street Northwest
city
string
optional
Example:
Edmonton
region_code
string
optional
>= 2 characters<= 6 characters
Examples:
ABCA
country_code
string
optional
>= 2 characters<= 2 characters
Examples:
CAUS
postcode
string
optional
>= 5 characters<= 8 characters
Examples:
T6E 6C990210
genres
array[string]
required
Example
{
"venue_name": "The Great Hall",
"venue_id": 8000000,
"venue_capacity": 1200,
"lat_long": "53.499, -113.486",
"address": "6222 199 Street Northwest",
"city": "Edmonton",
"region_code": "AB",
"country_code": "CA",
"postcode": "T6E 6D9",
"genres": [
"country"
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://insight.lineupiq.io/api/v1/discovery' \
--header 'x-app-id;' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"venue_name": "The Great Hall",
"venue_id": 8000000,
"venue_capacity": 1200,
"lat_long": "53.499, -113.486",
"address": "6222 199 Street Northwest",
"city": "Edmonton",
"region_code": "AB",
"country_code": "CA",
"postcode": "T6E 6D9",
"genres": [
"country"
]
}'
Responses
🟢200Success
application/json
Body
status
enum<string> <char>
read-onlyrequired
Allowed values:
SUCCESSFAILED
Examples:
SUCCESSFAILED
request_id
string <uuid>
required
Example:
62ff278c-cc6d-48a6-9969-fb2b3c1755ec
data
array [object {5}]
required
artist_name
string
required
Examples:
Brett KisselBillie Eilish
artist_id
integer <int32>
required
Examples:
90299619017831
rank
integer <int32>
required
>= 1<= 500
Examples:
12345
average_capacity
integer
required
Examples:
21544120005000
genres
array[string]
required
requester
object
required
name
string
read-onlyrequired
Examples:
John SnowKaren SmithJohn Doe
email
string
required
app_id
string <uuid>
read-onlyrequired
Example:
e647ae88-70a2-4bf5-9e3e-405635d1bed4
Examples
{
"status": "SUCCESS",
"request_id": "62ff278c-cc6d-48a6-9969-fb2b3c1755ec",
"data": [
{
"artist_name": "George Strait",
"artist_id": 9024880,
"rank": 1,
"average_capacity": 61127,
"genres": [
"country-music",
"country",
"world-music"
]
},
{
"artist_name": "Diamond Dixie",
"artist_id": 9390532,
"rank": 2,
"average_capacity": 61500,
"genres": [
"country"
]
},
{
"artist_name": "CMAT",
"artist_id": 9528424,
"rank": 3,
"average_capacity": 39732,
"genres": [
"country-music",
"Pop",
"indie",
"country"
]
},
{
"artist_name": "Cross Canadian Ragweed",
"artist_id": 9018384,
"rank": 4,
"average_capacity": 53885,
"genres": [
"country-music",
"country",
"world-music"
]
},
{
"artist_name": "Hillary Scott & The Scott Family",
"artist_id": 9025153,
"rank": 5,
"average_capacity": 41444,
"genres": [
"ccm",
"gospel",
"country",
"worship",
"christian country",
"christian"
]
},
{
"artist_name": "Chris Shiflett",
"artist_id": 9123466,
"rank": 6,
"average_capacity": 35958,
"genres": [
"americana",
"world-music",
"country-music",
"pop",
"country",
"rock"
]
},
{
"artist_name": "Madeline Edwards",
"artist_id": 9045168,
"rank": 7,
"average_capacity": 7835,
"genres": [
"country-music",
"country",
"world-music",
"other",
"pop"
]
},
{
"artist_name": "Charlie Cope",
"artist_id": 9107551,
"rank": 8,
"average_capacity": 46000,
"genres": [
"country"
]
},
{
"artist_name": "Jaron Bell",
"artist_id": 9105802,
"rank": 9,
"average_capacity": 70000,
"genres": [
"texas country",
"red dirt",
"country"
]
},
{
"artist_name": "Amy Clawson",
"artist_id": 9031844,
"rank": 10,
"average_capacity": 64100,
"genres": [
"country"
]
}
],
"requester": {
"name": "Joe Blow",
"email": "joe@blow.com",
"app_id": "62ff278c-cc6d-48a6-9969-fb2b3c1786ec"
}
}
🟠422Validation Error
🟠401Unauthorized
🔴500Server Error
🟢200OK