Get the live price sheet
const options = {method: 'GET'};
fetch('https://www.ninjachat.ai/api/v1/pricing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.ninjachat.ai/api/v1/pricing"
response = requests.get(url)
print(response.text)curl --request GET \
--url https://www.ninjachat.ai/api/v1/pricing{}Models & pricing
Get the live price sheet
Public prices generated from the same tables used by billing.
GET
/
pricing
Get the live price sheet
const options = {method: 'GET'};
fetch('https://www.ninjachat.ai/api/v1/pricing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.ninjachat.ai/api/v1/pricing"
response = requests.get(url)
print(response.text)curl --request GET \
--url https://www.ninjachat.ai/api/v1/pricing{}Response
200 - application/json
Current chat, image, video and search pricing.
The response is of type object.