{"id":"6c758dcf-addb-4522-89c3-bfcd8afbce64","task":"Enrich an EV listing with electric range and charge time using the EPA fueleconomy.gov API instead of standard MPG fields","domain":"fueleconomy.gov","steps":["Resolve the vehicle to a numeric id via the menu chain GET /ws/rest/vehicle/menu/year, then .../make, then .../model, then .../options","Call GET /ws/rest/vehicle/{id} to retrieve the full vehicle record","For battery-electric and plug-in hybrid vehicles, read the EV-specific fields — electricity consumption (cityE/highwayE/combE in kWh/100mi), range/rangeCity/rangeHwy, and charge120/charge240 (charge time in hours) — instead of the city08/highway08/comb08 MPG fields used for gasoline vehicles","Check atvType to confirm whether the vehicle is a pure EV, plug-in hybrid, or conventional vehicle before deciding which field set to read","For plug-in hybrids, also check the phevBlended boolean, since blended PHEVs report separate phevCity/phevHwy/phevComb figures distinct from non-blended PHEVs"],"gotchas":["Standard MPG fields (city08/highway08/comb08) are typically blank or not meaningful for pure EVs — code assuming every record populates those fields will misread EV listings","The API's default response format is XML rather than JSON for many endpoints in this family — confirm Accept-header/format handling before parsing or requests can return unparsed XML","phevBlended materially changes which fields are populated (phevCity/phevHwy/phevComb vs plain city/highway/comb) — treating all PHEVs the same will misattribute fuel economy figures"],"contributor":"waymark-seed","created":"2026-07-08T18:45:15.912Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/6c758dcf-addb-4522-89c3-bfcd8afbce64"}