ShortCodes BetsApi

Docs : https://nsn.n10.xyz/docs/


Competitions

/api/v2/competitions

args:

→ sport_id

→ name : string (optional) ⇒ search by name

→ country : string (optional) ⇒ search by country code

→ table : bool (optional)

→ season : bool (optional)

→page (optional)

Data missing :

-

Response Time :

time curl -I https://nsn.n10.xyz/api/v2/competitions\?nsn_token\=mKji_-\(5nBg26TRZD6543-
curl -I   0.01s user 0.02s system 15% cpu 0.195 total

/api/v2/competitions/{id}

args:

→ id (required)

→ upcoming bool (optional)

→ table bool (optional)

→ ended bool (optional)

→ season bool (optional)

Data missing :

-

Response Time

time curl -I https://nsn.n10.xyz/api/v2/competitions/7\?nsn_token\=mKji_-\(5nBg26TRZD6543-
curl -I   0.02s user 0.01s system 13% cpu 0.167 total

#with upcoming
time curl -I https://nsn.n10.xyz/api/v2/competitions/7?nsn_token=mKji_-(5nBg26TRZD6543-&upcoming=true
curl -I   0.02s user 0.02s system 5% cpu 0.550 total

#with table
https://nsn.n10.xyz/api/v2/competitions/7?nsn_token=mKji_-(5nBg26TRZD6543-&upcoming=true&table=true
curl -I   0.02s user 0.01s system 4% cpu 0.567 total

#with ended
https://nsn.n10.xyz/api/v2/competitions/7?nsn_token=mKji_-(5nBg26TRZD6543-&upcoming=true&table=true&ended=true
curl -I   0.02s user 0.01s system 1% cpu 1.739 total

#with season
https://nsn.n10.xyz/api/v2/competitions/7?nsn_token=mKji_-(5nBg26TRZD6543-&upcoming=true&table=true&ended=true&season=true
curl -I   0.02s user 0.01s system 2% cpu 1.669 total


Events

/api/v2/events/

args:

→ sport_id (optional)

→ page (optional)

→ competition_id (int) (optional)

→ competitions_id ([int])

→ stadium_id (int) (optional)

→ name (string)

→ time (optional)

→ away_team (optional)

→ home_team (optional)

→ away_team_country (optional)

→ home_team_country (optional)

→ team_country (optional)

→ competition_name (optional)

→ team_name (optional)

→ team1_id (optional)

→ team2_id (optional)

→ max_date (optional)

→ min_date (optional)

→ odds (optional)

→ inplay (optional)

→ order (optional) : default is ‘asc’

Data missing :

Response Time :

https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-
0.02s user 0.02s system 2% cpu 1.368 total
	#after
0.02s user 0.02s system 14% cpu 0.113 total


#with time
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&time=2023-06-09%2018:00:00
0.02s user 0.02s system 10% cpu 0.410 total
	#after
0.02s user 0.02s system 21% cpu 0.164 total


#with away_team_id
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&away_team_id=14817
0.02s user 0.02s system 5% cpu 0.671 total
	#after
0.01s user 0.01s system 13% cpu 0.198 total


#with home_team_id
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&home_team_id=14817
0.02s user 0.01s system 6% cpu 0.510 total
	#after
0.02s user 0.01s system 10% cpu 0.254 total


#with competition_id
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&competition_id=1912
0.02s user 0.01s system 3% cpu 0.767 total
	#after
0.01s user 0.02s system 9% cpu 0.333 total


#with competition_ids
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&competition_ids=1912,7
0.01s user 0.01s system 3% cpu 0.757 total
	#after
0.01s user 0.01s system 9% cpu 0.200 total


#with Stadium
https://nsn.n10.xyz/api/v2/events?nsn_token=mKji_-(5nBg26TRZD6543-&stadium_id=5
0.02s user 0.03s system 21% cpu 0.230 total


#with away_team_country
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&away_team_country=fr
0.02s user 0.01s system 2% cpu 1.351 total
	#after
0.01s user 0.01s system 8% cpu 0.303 total


#with team_country
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&team_country=fr
0.02s user 0.01s system 4% cpu 0.678 total
	#after
0.01s user 0.01s system 7% cpu 0.317 total


# with competition_name
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&competition_name=france
0.02s user 0.03s system 6% cpu 0.732 total
	#after
0.02s user 0.02s system 12% cpu 0.266 total


#with team_name
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&team_name=France
0.01s user 0.02s system 4% cpu 0.701 total
	#after
0.02s user 0.02s system 10% cpu 0.294 total

#inplay
https://nsn.n10.xyz/api/v2/events/?nsn_token=mKji_-(5nBg26TRZD6543-&inplay=1
0.02s user 0.02s system 4% cpu 0.732 total

/api/v2/events/{id}

args:

→ id (required)

→ home_history (bool | optional)

→ away_history (bool | optional)

Data missing :

Response Time :

https://nsn.n10.xyz/api/v2/events/177743?nsn_token=mKji_-(5nBg26TRZD6543-
0.02s user 0.02s system 15% cpu 0.220 total

#home_history
https://nsn.n10.xyz/api/v2/events/177743?nsn_token=mKji_-(5nBg26TRZD6543-&home_history=1
0.01s user 0.01s system 7% cpu 0.369 total
	#after
0.01s user 0.01s system 12% cpu 0.161 total

#away_history
https://nsn.n10.xyz/api/v2/events/177743?nsn_token=mKji_-(5nBg26TRZD6543-&away_history=1
0.02s user 0.02s system 12% cpu 0.269 total
	#after
0.01s user 0.01s system 14% cpu 0.187 total

/api/v2/events/team/{team_id}

args:

→ team_id (required)

→ min_date (optional)

→ order (optional)

→ page (optional)

Response Time :

https://nsn.n10.xyz/api/v2/events/team/14506?nsn_token=mKji_-(5nBg26TRZD6543-
0.01s user 0.01s system 7% cpu 0.344 total
	#after
0.01s user 0.01s system 10% cpu 0.187 total

/api/v2/upcomingversus/

args:

→ team_1 (required)

→ team_2 (required)

→ min_date (optional) - default : now()

→ page (optional)

Response Time :

https://nsn.n10.xyz/api/v2/upcomingversus/?nsn_token=mKji_-(5nBg26TRZD6543-&team_1=14135&team_2=14738&min_date=01-01-2022
0.01s user 0.03s system 15% cpu 0.237 total
	#after
0.01s user 0.01s system 10% cpu 0.166 total


Team

/api/v2/teams/

args:

→ sport_id (required)

→ name (string)

→ country (string)

Data missing :

Response Time :

https://nsn.n10.xyz/api/v2/teams?nsn_token=mKji_-(5nBg26TRZD6543-
0.01s user 0.01s system 13% cpu 0.203 total

#with name
https://nsn.n10.xyz/api/v2/teams?nsn_token=mKji_-(5nBg26TRZD6543-&name=madrid
0.01s user 0.01s system 17% cpu 0.167 total


#with country
https://nsn.n10.xyz/api/v2/teams?nsn_token=mKji_-(5nBg26TRZD6543-&country=es
0.02s user 0.02s system 18% cpu 0.187 total

#with sport_id
https://nsn.n10.xyz/api/v2/teams?nsn_token=mKji_-(5nBg26TRZD6543-&sport_id=1
0.01s user 0.01s system 11% cpu 0.188 total

/api/v2/teams/{id}

args:

→ id (required)

→ home_upcoming (optional)

→ away_upcoming (optional)

Response Time :

https://nsn.n10.xyz/api/v2/teams/14135?nsn_token=mKji_-(5nBg26TRZD6543-
0.00s user 0.01s system 67% cpu 0.019 total

#home_upcoming
https://nsn.n10.xyz/api/v2/teams/14135?nsn_token=mKji_-(5nBg26TRZD6543-&home_upcoming=1
0.02s user 0.01s system 7% cpu 0.281 total

#away_upcoming
https://nsn.n10.xyz/api/v2/teams/14135?nsn_token=mKji_-(5nBg26TRZD6543-&away_upcoming=1
0.02s user 0.01s system 12% cpu 0.258 total


Player

/api/v2/players/

args:

→ team_id (required)

→ name (string)

Data missing :

Already Have :

→ Name (fullname)

→ Number

→ weight (KG)

→ height (CM)

→ foot (right/left || both)

→ position

→ country (citizenship)

→ birthdate

Response Time :

https://nsn.n10.xyz/api/v2/players/?nsn_token=mKji_-(5nBg26TRZD6543-
0.02s user 0.01s system 19% cpu 0.164 total

#with name
https://nsn.n10.xyz/api/v2/players/?nsn_token=mKji_-(5nBg26TRZD6543-&name=ronaldo
0.01s user 0.01s system 19% cpu 0.141 total

#with team_id
https://nsn.n10.xyz/api/v2/players/?nsn_token=mKji_-(5nBg26TRZD6543-&team_id=2829
0.02s user 0.01s system 17% cpu 0.161 total

/api/v2/players/{id}

args:

Already Have:

→ Name (fullname)

→ Number

→ weight (KG)

→ height (CM)

→ foot (right/left || both)

→ position

→ country (citizenship)

→ birthdate

→ transfers

→ events

Response Time :

https://nsn.n10.xyz/api/v2/players/8411?nsn_token=mKji_-(5nBg26TRZD6543-
0.02s user 0.01s system 20% cpu 0.154 total


Stadium

/api/v2/stadiums/

args:

→ page int (optional) : pagination

→ name string (optional) : search by name

→ city string (optional) : search by city

→ country string (optional) : search by country

Response Time :

https://nsn.n10.xyz/api/v2/stadiums?nsn_token=mKji_-(5nBg26TRZD6543-
0.01s user 0.02s system 19% cpu 0.191 total

#with name
https://nsn.n10.xyz/api/v2/stadiums?nsn_token=mKji_-(5nBg26TRZD6543-&name=santiago
0.02s user 0.02s system 20% cpu 0.156 total

#with city
https://nsn.n10.xyz/api/v2/stadiums?nsn_token=mKji_-(5nBg26TRZD6543-&city=madrid
0.02s user 0.02s system 21% cpu 0.159 total

#with country
https://nsn.n10.xyz/api/v2/stadiums?nsn_token=mKji_-(5nBg26TRZD6543-&country=spain
0.02s user 0.02s system 20% cpu 0.154 total

/api/v2/stadiums/{id}

args:

→ id (required)

→ upcoming bool (optional) : upcoming event from min_date or default now()

→ min_date date (optional) : minimum date : default is now()

→ limit (optional) : limit the latest numbers of events per stadium : default is 10.

Response Time :

https://nsn.n10.xyz/api/v2/stadiums/155?nsn_token=mKji_-(5nBg26TRZD6543-
0.02s user 0.02s system 6% cpu 0.505 total

#with upcoming
https://nsn.n10.xyz/api/v2/stadiums/155?nsn_token=mKji_-(5nBg26TRZD6543-&upcoming=1
0.01s user 0.01s system 2% cpu 0.685 total

Tv Channels