Integrate our AI characters with authentic Bristol local knowledge into your applications
The Nyata AI API allows you to integrate our Bristol AI characters into your applications. Purchase an API key to get started with authentic conversational AI.
All API requests should be made to the following base URL:
The API uses standard HTTP response codes to indicate the success or failure of requests. Generally, codes in the 2xx range indicate success, codes in the 4xx range indicate an error in the request parameters, and codes in the 5xx range indicate a server error.
To access the Nyata AI API, you need to purchase an API key. You can obtain an API key by creating an account and purchasing a plan.
                                Include your purchased API key in the X-API-Key header of all requests:
                            
Keep your API key secure. Do not share it publicly, include it in client-side code, or commit it to version control systems.
Don't have an API key yet? Purchase one here
API rate limits are based on your purchased plan. Each plan includes a specific number of requests.
| Plan | Requests Included | Duration | Price | 
|---|---|---|---|
| Free Trial | 100 requests | 7 days | £0 | 
| Basic | 1,000 requests | 30 days | £10 | 
| Premium | 10,000 requests | 30 days | £50 | 
| Enterprise | 100,000 requests | 30 days | £200 | 
                                When you reach your request limit, the API will return a 403 Forbidden response with details about your usage.
                            
Send messages to our Bristol AI characters and receive intelligent, context-aware responses.
Send a message to the AI and receive a response. The AI uses your conversation history to provide contextual replies.
| Header | Value | Description | 
|---|---|---|
| Content-Type | application/json (required) | Must be set to application/json | 
| X-API-Key | string (required) | Your purchased API key (format: nyata_xxxxx) | 
| Parameter | Type | Description | 
|---|---|---|
| model | string (required) | The AI model to use (e.g., "gpt-4-turbo", "gpt-3.5-turbo") | 
| messages | array (required) | Array of message objects with role and content | 
| max_tokens | integer (optional) | Maximum number of tokens in the response (default: 150) | 
| temperature | float (optional) | Controls randomness (0.0-1.0, default: 0.7) | 
Our API provides access to multiple AI characters, each with unique Bristol personalities and expertise.
| Character | Personality | Expertise | 
|---|---|---|
| Brenda (Female) | Friendly, empathetic, local guide | Bristol venues, food, events, social recommendations | 
| Dave (Male) | Knowledgeable, straightforward, helpful | General queries, practical advice, local knowledge | 
| Miss Thompson (Teacher) | Patient, educational, encouraging | Learning, tutoring, explanations | 
| Coach Marcus (Gym Trainer) | Motivating, energetic, supportive | Fitness, nutrition, health advice | 
| Jamie (Child-Friendly) | Fun, safe, age-appropriate | Educational content, games, stories for children | 
All characters have authentic Bristol accents and deep knowledge of local areas, venues, and culture. They automatically adapt their responses based on context.
Monitor your API usage and remaining requests through response headers and your dashboard.
Every successful API response includes usage information:
You can also view detailed usage statistics in your API Dashboard.
We provide example code in multiple programming languages to help you get started quickly.
Need help with integrating our API? We're here to help!
If you encounter any issues or have questions about our API, you can: