Generate Token For InPlay(Live) Web Socket(Updated: 23.June.2022)
Prerequisites & Basic Infos:
- You need to give us your STATIC ip to whitelist in our servers. You can NOT get response if your IP's are NOT whitelisted
- There is a rate limit which is 1 query per minute. If you exceed this you will get 503 error.
- Tokens expires every 24 hours. So you can NOT use same token after 24 hours. You need to take only 1 Token per day
- Please either add "not validate SSL" or not add "SSL validation" to your codes in services between us for not to get error in case out renewing ssl times
- If you want to check your subscription config like allowed IPs and allowed Services you need to check My Settings
You can use this token both for ONLY INPLAY(live) Web Socket Stream service. Prelive feeds and dictionaries tokens are different.
Token:
Generate a token from via POST request to BODY json via 2 parametres:
username: yourusername
password: yourpassword
url for v1(old) bm:1 token:https://geniusfeeds.work/api/token
For all new streams token services are united you need to get token from token services
Request: POST (json)
| Parameter | Type | Position | # | Description |
|---|---|---|---|---|
| username | string |
Body |
Required |
Your username geniusfeeds assigned you. |
| password | string |
Body |
Required |
Your username geniusfeeds assigned you. |
Response
{
"success": true,
"token": "eyJhbGciOiR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Nzg2Mjk2fQ.F9tYZFNzKh_h8Cnll-JomXCNyjFokzuhohOMyyKeudw"
}
v1(old) B3 Token
new stream Token