{"uid":"cap_LpB3geqJvtPk8_YYdPH9u","slug":"california-highway-traffic-speeds-76a98182","name":"California Highway Traffic Speeds","description":"Small x402-payable utility APIs for agents: endpoint inspection, launch checks, and hosted artifacts.","url":"https://agentbodega.store/api/public-data/california-highway-traffic","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"fields":[{"name":"region","type":"string","required":false},{"name":"road","type":"string","required":false},{"name":"direction","type":"string","required":false},{"name":"minMph","type":"integer","required":false},{"name":"includeIncidents","type":"boolean","required":false},{"name":"includeSensors","type":"boolean","required":false},{"name":"limit","type":"integer","required":false},{"name":"proxiesSx","type":"boolean | object","required":false}],"required":[],"fieldCount":8,"contentType":"application/json","optionalPreview":["region","road","direction","minMph","includeIncidents","includeSensors","limit","proxiesSx"],"omittedFieldCount":0},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}}},"output":{"type":"object","properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"tool":{"id":"california-highway-traffic","name":"California Highway Traffic Speeds","department":"Public Data"},"region":"NoCal","results":[{"road":"580","avg_mph":34.2,"max_mph":61,"min_mph":12,"road_id":"100580","sensors":18,"direction":"East"}],"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wDZS0DIkL9wZEQf0Wr0hf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time average, max, and min traffic speeds for California highways, filterable by region, road, and direction.","exampleAgentPrompt":"What are the current traffic speeds on Highway 580 eastbound in Northern California — include any incidents and show up to 10 roads?","exampleUseCases":[{"title":"Eastbound commute speed check","prompt":"What's the average speed on I-580 going east right now? I want to know if it's congested before I leave — include incident info."},{"title":"Slow road alert in NoCal","prompt":"Find all Northern California highways with average speeds below 25 mph right now, and show me up to 5 results with sensor data included."},{"title":"Route comparison for delivery planning","prompt":"Give me current traffic speeds on Highway 101 and I-5 in Southern California so I can figure out which route is moving faster today."}],"resultDescription":"Returns a JSON object with a tool metadata block, the queried region, and a results array. Each result includes road name, road ID, direction, average MPH, max MPH, min MPH, and number of sensors. Also returns a success flag.","failureModes":["Invalid or unrecognized region string returns empty results or error","Road name not found returns empty results array","Malformed integer for minMph or limit may cause validation failure","x402 payment failure results in 402 response before any data is returned","Requesting both includeSensors and includeIncidents on large limit may slow response"],"whenToPreferThis":"Use this endpoint when you need real-time California highway traffic speed data filtered by specific roads, regions, or directions. Prefer this over general mapping APIs when you need raw sensor-based speed metrics (avg/max/min MPH) for programmatic analysis or alerting, especially for NoCal/SoCal highway corridors. Best suited for agents doing commute monitoring, logistics routing, or traffic anomaly detection in California.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:29.071Z","isFirstParty":false}