Enrich product data with source citations in under 2 minutes.
1. Get your API key
dashboard.rastro.ai/settings/api-keys → Create New Key → Copy it.
2. Enrich your first item
import requests
response = requests.post(
"https://catalogapi.rastro.ai/api/public/enrich",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"items": [{"part_number": "6205-2RS", "name": "Deep Groove Ball Bearing"}],
"output_schema": [
{"name": "bore_diameter", "type": "string", "description": "Inner diameter in mm"},
{"name": "outer_diameter", "type": "string", "description": "Outer diameter in mm"},
{"name": "manufacturer", "type": "string", "description": "Brand or manufacturer name"}
],
"speed": "fast"
}
)
print(response.json())
Use "speed": "fast" for quick testing (~1 min). For production, use "slow" for comprehensive results (10-15 min).
3. Get your results
{
"job_id": "abc123-...",
"results": [{
"original_data": {"part_number": "6205-2RS", "name": "Deep Groove Ball Bearing"},
"enriched_fields": {
"bore_diameter": {
"value": "25 mm",
"sources": ["https://skf.com/products/bearings/6205-2RS"]
},
"outer_diameter": {
"value": "52 mm",
"sources": ["https://skf.com/products/bearings/6205-2RS"]
},
"manufacturer": {
"value": "SKF",
"sources": ["https://skf.com/products/bearings/6205-2RS"]
}
}
}],
"status": "completed"
}
Every field includes source URLs so you can verify the data.