Skip to main content

Webmotors.com.br API Reference

Complete API documentation for extracting automotive data from Webmotors.com.br, Brazil's leading automotive marketplace.

๐Ÿ”— Base URLโ€‹

https://api.carapis.com/v1/webmotors

๐Ÿ” Authenticationโ€‹

All API requests require authentication using an API key:

Authorization: Bearer YOUR_API_KEY
API Key

Get your API key from the CarAPIS Dashboard

๐Ÿ“‹ Endpoints Overviewโ€‹

EndpointMethodDescription
/searchGETSearch vehicle listings
/listing/\{id\}GETGet detailed listing information
/dealer/\{id\}GETGet dealer information
/market-dataGETGet market analysis data
/price-history/\{id\}GETGet price history for a listing
/brandsGETGet available brands
/models/\{brand\}GETGet models for a specific brand

๐Ÿ” Search Endpointโ€‹

Search for vehicle listings with various filters and parameters.

Query Parametersโ€‹

ParameterTypeRequiredDescription
brandstringNoVehicle brand (e.g., "Toyota")
modelstringNoVehicle model (e.g., "Corolla")
year_fromintegerNoMinimum year
year_tointegerNoMaximum year
price_minintegerNoMinimum price in BRL
price_maxintegerNoMaximum price in BRL
mileage_maxintegerNoMaximum mileage in km
fuel_typestringNoFuel type (gasoline, ethanol, flex, diesel, electric)
transmissionstringNoTransmission type (manual, automatic)
statestringNoBrazilian state
citystringNoCity name
pageintegerNoPage number (default: 1)
limitintegerNoResults per page (default: 20, max: 100)

Example Requestโ€‹

curl -X GET "https://api.carapis.com/v1/webmotors/search?brand=Toyota&model=Corolla&year_from=2020&price_max=150000&state=Sรฃo Paulo" \
-H "Authorization: Bearer YOUR_API_KEY"

Example Responseโ€‹

{
"success": true,
"data": {
"listings": [
{
"id": "wm_123456789",
"title": "Toyota Corolla XEi 2.0 2022",
"brand": "Toyota",
"model": "Corolla",
"year": 2022,
"price": 125000,
"original_price": 135000,
"mileage": 25000,
"fuel_type": "flex",
"transmission": "automatic",
"color": "Prata",
"location": {
"state": "Sรฃo Paulo",
"city": "Sรฃo Paulo",
"neighborhood": "Vila Madalena"
},
"dealer": {
"id": "dealer_123",
"name": "Toyota Sรฃo Paulo",
"rating": 4.8,
"verified": true
},
"features": ["Air Conditioning", "Power Windows", "Bluetooth", "Backup Camera"],
"images": ["https://example.com/image1.jpg", "https://example.com/image2.jpg"],
"url": "https://www.webmotors.com.br/carros/toyota/corolla/2022/123456789",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:45:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 150,
"total_pages": 8
},
"filters": {
"applied": {
"brand": "Toyota",
"model": "Corolla",
"year_from": 2020,
"price_max": 150000,
"state": "Sรฃo Paulo"
},
"available": {
"brands": ["Toyota", "Honda", "Volkswagen"],
"price_ranges": ["0-50000", "50000-100000", "100000-150000"],
"years": [2020, 2021, 2022, 2023, 2024]
}
}
}
}

๐Ÿ“„ Listing Details Endpointโ€‹

GET /listing/{id}โ€‹

Get detailed information about a specific vehicle listing.

Path Parametersโ€‹

ParameterTypeRequiredDescription
idstringYesListing ID

Example Requestโ€‹

curl -X GET "https://api.carapis.com/v1/webmotors/listing/wm_123456789" \
-H "Authorization: Bearer YOUR_API_KEY"

Example Responseโ€‹

{
"success": true,
"data": {
"id": "wm_123456789",
"title": "Toyota Corolla XEi 2.0 2022",
"description": "Excelente Toyota Corolla XEi 2.0 2022, รบnico dono, revisรตes em concessionรกria...",
"brand": "Toyota",
"model": "Corolla",
"version": "XEi 2.0",
"year": 2022,
"model_year": 2023,
"price": 125000,
"original_price": 135000,
"financing": {
"available": true,
"monthly_payment": 2500,
"down_payment": 25000,
"terms": [12, 24, 36, 48, 60]
},
"specifications": {
"engine": "2.0L 4-cylinder",
"power": "169 hp",
"torque": "205 Nm",
"fuel_type": "flex",
"transmission": "automatic",
"drivetrain": "front-wheel drive",
"mileage": 25000,
"color": "Prata",
"interior_color": "Preto",
"doors": 4,
"seats": 5
},
"features": {
"safety": ["ABS", "Airbag Driver", "Airbag Passenger", "Electronic Stability Control", "Traction Control"],
"comfort": ["Air Conditioning", "Power Windows", "Power Locks", "Cruise Control", "Bluetooth"],
"technology": ["Touchscreen", "Backup Camera", "USB Port", "Apple CarPlay", "Android Auto"]
},
"condition": {
"overall": "excellent",
"exterior": "excellent",
"interior": "excellent",
"mechanical": "excellent",
"accident_history": false,
"single_owner": true
},
"location": {
"state": "Sรฃo Paulo",
"city": "Sรฃo Paulo",
"neighborhood": "Vila Madalena",
"address": "Rua Harmonia, 123",
"coordinates": {
"latitude": -23.5505,
"longitude": -46.6333
}
},
"dealer": {
"id": "dealer_123",
"name": "Toyota Sรฃo Paulo",
"type": "authorized_dealer",
"rating": 4.8,
"reviews_count": 1250,
"verified": true,
"contact": {
"phone": "+55 11 99999-9999",
"whatsapp": "+55 11 99999-9999",
"email": "contato@toyotasaopaulo.com.br"
}
},
"images": [
{
"url": "https://example.com/image1.jpg",
"alt": "Front view",
"primary": true
},
{
"url": "https://example.com/image2.jpg",
"alt": "Side view",
"primary": false
}
],
"documents": {
"registration": "valid",
"insurance": "included",
"maintenance_book": "complete",
"manual": "included"
},
"url": "https://www.webmotors.com.br/carros/toyota/corolla/2022/123456789",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:45:00Z"
}
}

๐Ÿข Dealer Information Endpointโ€‹

GET /dealer/{id}โ€‹

Get detailed information about a specific dealer.

Path Parametersโ€‹

ParameterTypeRequiredDescription
idstringYesDealer ID

Example Requestโ€‹

curl -X GET "https://api.carapis.com/v1/webmotors/dealer/dealer_123" \
-H "Authorization: Bearer YOUR_API_KEY"

Example Responseโ€‹

{
"success": true,
"data": {
"id": "dealer_123",
"name": "Toyota Sรฃo Paulo",
"type": "authorized_dealer",
"brands": ["Toyota", "Lexus"],
"rating": 4.8,
"reviews_count": 1250,
"verified": true,
"since": "2010-01-01",
"location": {
"state": "Sรฃo Paulo",
"city": "Sรฃo Paulo",
"neighborhood": "Vila Madalena",
"address": "Rua Harmonia, 123",
"coordinates": {
"latitude": -23.5505,
"longitude": -46.6333
}
},
"contact": {
"phone": "+55 11 99999-9999",
"whatsapp": "+55 11 99999-9999",
"email": "contato@toyotasaopaulo.com.br",
"website": "https://www.toyotasaopaulo.com.br"
},
"business_hours": {
"monday": "09:00-18:00",
"tuesday": "09:00-18:00",
"wednesday": "09:00-18:00",
"thursday": "09:00-18:00",
"friday": "09:00-18:00",
"saturday": "09:00-17:00",
"sunday": "closed"
},
"services": ["sales", "financing", "insurance", "maintenance", "warranty"],
"active_listings": 45,
"total_sales": 1250
}
}

๐Ÿ“Š Market Data Endpointโ€‹

GET /market-dataโ€‹

Get comprehensive market analysis data.

Query Parametersโ€‹

ParameterTypeRequiredDescription
brandstringNoFilter by brand
modelstringNoFilter by model
statestringNoFilter by state
periodstringNoTime period (7d, 30d, 90d, 1y)

Example Requestโ€‹

curl -X GET "https://api.carapis.com/v1/webmotors/market-data?brand=Toyota&period=30d" \
-H "Authorization: Bearer YOUR_API_KEY"

Example Responseโ€‹

{
"success": true,
"data": {
"period": "30d",
"brand": "Toyota",
"market_overview": {
"total_listings": 12500,
"average_price": 85000,
"price_trend": "+2.5%",
"demand_level": "high"
},
"price_analysis": {
"price_ranges": {
"0-50000": 15,
"50000-100000": 45,
"100000-150000": 30,
"150000+": 10
},
"average_by_model": {
"Corolla": 95000,
"Hilux": 180000,
"SW4": 220000,
"RAV4": 160000
}
},
"geographic_distribution": {
"Sรฃo Paulo": 35,
"Rio de Janeiro": 20,
"Minas Gerais": 15,
"Paranรก": 12,
"Others": 18
},
"trends": {
"price_trend": "+2.5%",
"demand_trend": "+8.2%",
"supply_trend": "+3.1%"
}
}
}

๐Ÿ“ˆ Price History Endpointโ€‹

GET /price-history/{id}โ€‹

Get price history for a specific listing.

Path Parametersโ€‹

ParameterTypeRequiredDescription
idstringYesListing ID

Query Parametersโ€‹

ParameterTypeRequiredDescription
periodstringNoTime period (7d, 30d, 90d, 1y)

Example Requestโ€‹

curl -X GET "https://api.carapis.com/v1/webmotors/price-history/wm_123456789?period=30d" \
-H "Authorization: Bearer YOUR_API_KEY"

Example Responseโ€‹

{
"success": true,
"data": {
"listing_id": "wm_123456789",
"period": "30d",
"price_history": [
{
"date": "2024-01-01",
"price": 130000,
"change": 0
},
{
"date": "2024-01-05",
"price": 128000,
"change": -2000
},
{
"date": "2024-01-10",
"price": 125000,
"change": -3000
},
{
"date": "2024-01-15",
"price": 125000,
"change": 0
}
],
"statistics": {
"initial_price": 130000,
"current_price": 125000,
"total_change": -5000,
"percentage_change": -3.85,
"lowest_price": 125000,
"highest_price": 130000
}
}
}

๐Ÿš— Brands and Models Endpointsโ€‹

GET /brandsโ€‹

Get all available vehicle brands.

Example Requestโ€‹

curl -X GET "https://api.carapis.com/v1/webmotors/brands" \
-H "Authorization: Bearer YOUR_API_KEY"

Example Responseโ€‹

{
"success": true,
"data": [
{
"id": "toyota",
"name": "Toyota",
"listings_count": 12500,
"average_price": 85000
},
{
"id": "honda",
"name": "Honda",
"listings_count": 9800,
"average_price": 78000
},
{
"id": "volkswagen",
"name": "Volkswagen",
"listings_count": 15200,
"average_price": 72000
}
]
}

GET /models/{brand}โ€‹

Get all models for a specific brand.

Path Parametersโ€‹

ParameterTypeRequiredDescription
brandstringYesBrand ID

Example Requestโ€‹

curl -X GET "https://api.carapis.com/v1/webmotors/models/toyota" \
-H "Authorization: Bearer YOUR_API_KEY"

Example Responseโ€‹

{
"success": true,
"data": [
{
"id": "corolla",
"name": "Corolla",
"listings_count": 3200,
"average_price": 95000,
"years": [2020, 2021, 2022, 2023, 2024]
},
{
"id": "hilux",
"name": "Hilux",
"listings_count": 1800,
"average_price": 180000,
"years": [2020, 2021, 2022, 2023, 2024]
},
{
"id": "sw4",
"name": "SW4",
"listings_count": 950,
"average_price": 220000,
"years": [2020, 2021, 2022, 2023, 2024]
}
]
}

โš ๏ธ Error Responsesโ€‹

Error Formatโ€‹

{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Human readable error message",
"details": "Additional error details"
}
}

Common Error Codesโ€‹

CodeHTTP StatusDescription
INVALID_API_KEY401Invalid or missing API key
RATE_LIMIT_EXCEEDED429Rate limit exceeded
INVALID_PARAMETERS400Invalid request parameters
LISTING_NOT_FOUND404Listing not found
DEALER_NOT_FOUND404Dealer not found
INTERNAL_ERROR500Internal server error

Example Error Responseโ€‹

{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Please try again in 60 seconds.",
"details": "You have exceeded 1000 requests per hour"
}
}

๐Ÿ“Š Rate Limitsโ€‹

PlanRequests per HourRequests per Day
Free1001,000
Basic1,00010,000
Pro10,000100,000
EnterpriseUnlimitedUnlimited
Rate Limiting

Rate limits are applied per API key. Exceeding limits will result in a 429 error response.

๐Ÿ”ง SDK Examplesโ€‹

Python SDKโ€‹

import carapis

# Initialize client
client = carapis.Client(api_key="YOUR_API_KEY")

# Search for vehicles
listings = client.webmotors.search(
brand="Toyota",
model="Corolla",
year_from=2020,
price_max=150000
)

# Get listing details
listing = client.webmotors.get_listing("wm_123456789")

# Get market data
market_data = client.webmotors.get_market_data(
brand="Toyota",
period="30d"
)

JavaScript SDKโ€‹

const CarAPIS = require('carapis');

// Initialize client
const client = new CarAPIS('YOUR_API_KEY');

// Search for vehicles
const listings = await client.webmotors.search({
brand: 'Toyota',
model: 'Corolla',
yearFrom: 2020,
priceMax: 150000,
});

// Get listing details
const listing = await client.webmotors.getListing('wm_123456789');

// Get market data
const marketData = await client.webmotors.getMarketData({
brand: 'Toyota',
period: '30d',
});

๐Ÿ“ž Supportโ€‹

For API support and questions:


This API provides comprehensive access to Webmotors.com.br automotive data, enabling developers to build powerful automotive applications and services.