API Documentation
Explore our APIs to generate stunning images, perform intelligent searches, and access real-time global news and weather with the advanced Alexzo AI model. Free to use with no restrictions.
Our AI-powered APIs allow you to generate stunning images, perform intelligent web searches, and access real-time global news. Completely free to use with no rate limits or restrictions.
Base URL
https://alexzo.vercel.app/apiModel
alexzo-ai-v1Quick Setup Steps
- Create your account and sign in
- Generate an API key from your API section
- Include your API key in the Authorization header
- Make requests to our image, search, news, or weather endpoints
- Enjoy building amazing AI-powered applications!
Get intelligent, real-time search results for any query.
Request Parameters
queryThe search term or question
Type: String
Response Format
{
"results": [
{
"title": "...",
"link": "...",
"snippet": "..."
}
],
"related_searches": [
"..."
]
}Example Request (JavaScript)
// AI-Powered Search - Free Use
const response = await fetch('https://alexzo.vercel.app/api/search', {
method: 'POST',
headers: {
'Authorization': 'Bearer alexzo_your_api_key_here',
'Content-Type': 'application/json'
},
body: JSON.stringify({
query: 'What are the latest advancements in AI?'
})
});
const data = await response.json();
console.log(data); // Search resultsAlexzo News API – A free and unlimited API for fetching news results based on search queries.
Request Parameters
qThe news search query
Type: String
Example Request (JavaScript)
// Alexzo News API - Free Use
const response = await fetch('https://alexzo.vercel.app/api/news?q=technology', {
method: 'GET',
headers: {
'Authorization': 'Bearer alexzo_your_api_key_here',
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data); // News resultsFetch real-time weather data for any location globally.
Example Request (JavaScript)
// Alexzo Weather API - Free Use
const response = await fetch('https://alexzo.vercel.app/api/weather?location=Tokyo', {
method: 'GET',
headers: {
'Authorization': 'Bearer alexzo_your_api_key_here',
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data); // Weather results// Alexzo Weather API - Free Use
const response = await fetch('https://alexzo.vercel.app/api/weather?location=Tokyo', {
method: 'GET',
headers: {
'Authorization': 'Bearer alexzo_your_api_key_here',
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data); // Weather resultsimport requests
import json
# Alexzo Weather API with Python
def get_weather(location, api_key, units='metric'):
url = f"https://alexzo.vercel.app/api/weather?location={location}&units={units}"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
if response.status_code == 200:
return response.json()
else:
print(f"Error: {response.json()}")
return None
# Usage
api_key = "alexzo_your_api_key_here"
location = "Tokyo"
weather_data = get_weather(location, api_key)
if weather_data:
print(json.dumps(weather_data, indent=2))# Alexzo Weather API with cURL
curl -X GET "https://alexzo.vercel.app/api/weather?location=Tokyo" \
-H "Authorization: Bearer alexzo_your_api_key_here" \
-H "Content-Type: application/json"Ready to Start Creating?
Join thousands of developers and creators using our Alexzo AI API to generate stunning images. Get your API key and start building today - completely free!
Get Started Now