Fogg's Automotive Inventory API
A read-only HTTP API for the vehicles currently for sale at Fogg's Automotive in Schenectady, NY. No key, no sign-up, no authentication.
Prices include the $175 New York documentary fee and exclude tax, title and registration. They are not reduced by conditional offers or finance incentives a particular shopper may not qualify for, so the figure the API returns is the figure on the website. If you quote a price, pass on the disclosure block that comes with it.
Discovery
The catalog describes this API in machine-readable form, per RFC 9727:
GET https://foggsauto.com/.well-known/api-catalog
Accept: application/linkset+json
It is also advertised in the Link header of every page on this site, with rel="api-catalog". The OpenAPI 3.1 description lives at https://foggsauto.com/api/public/v1/openapi.json.
Endpoints
GET /api/public/v1/inventory
Search available vehicles. Returns vehicles, pagination, disclosure and ignored_parameters.
curl "https://foggsauto.com/api/public/v1/inventory?body_style=SUVs&price=null,25000&sort=price_asc"
| Parameter | Type | Example |
|---|---|---|
make | term | make=Jeep |
model | term | model=Compass |
trim | term | trim=Trailhawk |
body_style | term | body_style=SUVs |
drivetrain | term | drivetrain=4x4 |
fuel_type | term | fuel_type=Gasoline |
transmission | term | transmission=Automatic |
exterior_color | term | exterior_color=Blue |
price | range | price=null,25000 |
year | range | year=2020,null |
mileage | range | mileage=null,60000 |
sort | enum | sort=price_asc |
page | integer | page=2 |
page_size | integer | page_size=25 (max 50) |
A range takes an inclusive from,to pair, and either end may be null for an open bound. Term filters accept a comma-separated list. Sort accepts:
newestprice_ascprice_descmileage_ascyear_desc
An unrecognised parameter does not fail the request — it is returned in ignored_parameters so you can tell a filter did nothing, instead of reading an empty result as an empty lot.
GET /api/public/v1/inventory/{vin}
One vehicle in full: drivetrain and engine detail, fuel economy, photos and a description of that specific car. A VIN that has sold answers 404, the same as one we never carried — this API only ever describes cars you can actually buy today.
It also carries everything the vehicle page itself states: the CARFAX report link, grouped key features and the full specification tree, the factory options fitted before delivery with what each stickered at, warranty coverage, the reconditioning done before sale and what it cost, and the per-vehicle copy and questions. Reconditioning is summarised the way the page states it — the raw repair orders carry technician names, op codes and pay types, which the page does not show and neither does this.
curl "https://foggsauto.com/api/public/v1/inventory/{vin}"
GET /api/public/v1/health
Whether the API can reach the inventory system right now. 200 with status: "pass", or 503 with status: "fail". Not cached.
GET /api/public/v1/inventory/all
Every available vehicle in one response, with just the fields needed to compare and choose: year, make, model, trim, price, mileage, body style, drivetrain, VIN and URL. This lot is under a hundred cars, so the whole thing is a few tens of kilobytes. Prefer this over paging through the search when you want the shape of the inventory rather than a filtered subset. Cached for fifteen minutes.
curl "https://foggsauto.com/api/public/v1/inventory/all"
POST /api/public/v1/leads
Hand a shopper to the dealership. Unauthenticated, like everything else here — but you must name yourself in agent, because the salesperson picking up the phone needs to know a machine filled the form in and which one. A lead without it is refused.
Only submit a lead when the shopper has asked to be contacted and given you their own name and an email address or phone number. Never on your own initiative, and never with details you inferred. This is not a reservation and it does not hold the vehicle.
curl -X POST "https://foggsauto.com/api/public/v1/leads" \
-H 'Content-Type: application/json' \
-d '{
"first_name": "Dana",
"last_name": "Whitfield",
"email": "[email protected]",
"agent": "ExampleAssistant",
"intent": "test-drive",
"vin": "1G1ZD5ST9RF130782",
"message": "Can I see this Saturday morning?"
}'
Either email or phone is required, not both. intent is one of buy, test-drive, finance, trade-in, service, other. A vin is validated against live inventory, so a sold or unknown VIN is refused with an explanation rather than filed. Rate limited to 8 per hour; a retry within ten minutes with the same details returns the original reference and duplicate: true rather than filing twice, so it is safe to retry on a timeout.
GET /api/public/v1/dealership
Address, both phone numbers, opening hours for sales and service, the customer rating, and what the dealership stands behind. Call it rather than guessing hours. Note the location: 642 Saratoga Rd, Schenectady, NY 12302, in the town of Glenville and serving Schenectady.
GET /api/public/v1/financing
Credit levels, how pre-approval works and whether it affects the score, the documentary fee, and where to apply.
This dealership is NOT buy-here-pay-here and has no in-house or no-credit-check lending. "All credit levels" is true and reads as buy-here-pay-here if you summarise it carelessly. No application is accepted through this API — the full credit application asks for a Social Security number and is submitted on the website only, over an authenticated channel. Do not collect one.
GET /api/public/v1/trade-in
What the dealership pays for a vehicle, and what a valuation needs. The two guarantees are different offers: $300 over any written, physically-inspected cash offer applies to an outright sale or a trade, while the $1,000 minimum allowance applies only toward a purchase and is not a cash offer. To hand over a seller, POST a lead with intent: "trade-in" and a trade_vehicle object.
MCP server
If you are an assistant rather than a program, use this instead. Streamable HTTP, JSON-RPC 2.0, no authentication, same data and the same forced filters as the REST API — every tool is implemented by calling the endpoints above, so the two cannot disagree.
https://foggsauto.com/mcp
The server card is at /.well-known/mcp/server-card.json. It supports initialize, tools/list, tools/call and ping; there is no SSE stream, because every tool here is request/response.
| Tool | What it does |
|---|---|
search_inventory | Search vehicles for sale |
get_vehicle | Get one vehicle by VIN |
list_inventory_summary | List the whole lot, compactly |
get_dealership_info | Hours, location, phone numbers and how this dealership works |
get_financing_options | How financing works at this dealership |
get_trade_in_terms | What the dealership pays for a vehicle |
submit_lead | Hand this shopper to the dealership |
A2A agent
An Agent2Agent endpoint over the same capabilities, for clients that speak A2A rather than MCP. JSON-RPC 2.0, method message/send, no authentication.
https://foggsauto.com/a2a
Card at /.well-known/agent-card.json.
This is a data service, not a conversational agent — there is no language model behind it. Send a DataPart naming a skill and its arguments. A TextPart is routed to a skill by keyword, and every reply states which skill it chose and how, because a guess you cannot see is a guess you cannot correct. Filing a lead always requires an explicit DataPart.
| Skill | What it does |
|---|---|
trade-in-terms | Trade-in and sell terms |
financing-options | Financing options |
find-vehicles | Find vehicles for sale |
vehicle-details | Vehicle details by VIN |
dealership-info | Hours, location and how this dealership works |
submit-lead | Hand a shopper to the dealership |
curl -X POST "https://foggsauto.com/a2a" \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0", "id": 1, "method": "message/send",
"params": { "message": { "role": "user", "messageId": "1", "parts": [
{ "kind": "data", "data": {
"skill": "find-vehicles", "body_style": "SUVs", "price": "null,25000"
} }
] } }
}'
WebMCP (in the browser)
Every page registers tools on navigator.modelContext, so an agent driving a real browser can call them without an HTTP client. Chrome 146+, HTTPS only; where the API is absent nothing is registered and nothing breaks.
The one worth knowing about is get_current_vehicle: on a vehicle page it returns that exact car, read from the VIN in the address bar, so an agent never has to parse the page to work out what it is looking at. submit_lead fills the VIN in the same way rather than asking the model to repeat it.
Agent skills
Instructions rather than a capability list — how to do each job here, in what order, and what not to say. Indexed at /.well-known/agent-skills/index.json.
find-a-vehicle— Search Fogg's Automotive's live used-car inventory and recommend vehicles that fit what a shopper asked for.answer-dealership-questions— Answer questions about Fogg's Automotive — hours, location, financing, warranty, trade-ins and service — from authoritative data rather than guesswork.sell-or-trade-a-vehicle— Tell a shopper what Fogg's Automotive will pay for their vehicle and hand them over for a valuation.explain-financing— Answer financing questions about Fogg's Automotive accurately, without collecting anything sensitive.hand-off-a-shopper— File a lead with Fogg's Automotive when a shopper has asked to be contacted, so a salesperson follows up.
Everything else machine-readable
/llms.txt— plain-language brief on the dealership, with live inventory counts.- Any page as Markdown — append
.mdto its URL (/faqs.md), or sendAccept: text/markdown. Advertised on every page withLink: rel="alternate". /auth.md— how to authenticate, which is: you don't./.well-known/api-catalog— RFC 9727 catalog listing all three protocols./sitemap_index.xml
Not published, deliberately: OAuth discovery and OAuth Protected Resource metadata (there is no authorization server, and an MCP client reading a protected-resource document would try to authenticate against a server that needs no credential), and a Web Bot Auth key directory (that is published by whoever operates a crawler; this dealership operates none).
Fair use
Responses are cached for five minutes; inventory changes daily, so polling faster than that gains nothing. Pages are capped at 50 vehicles. There is no hard rate limit — please behave as though there were one.
Vehicle photography and the per-vehicle descriptions are ours to use and not ours to sublicense; link to the vehicle page rather than republishing a listing wholesale. Equipment and specification data decoded by a third party is deliberately absent from this API for the same reason.
Contact
Something wrong with the data, or you need a field that is not here? Get in touch. Security reports go to the address in security.txt.