Skip to content

Getting Started

Welcome to the GoodVat Developer Documentation. GoodVat is building simple, automatic sales tax and VAT calculation for online sellers — with plugins for Shopify, WooCommerce, and more platforms on the way. This documentation covers the building blocks behind that: address standardization, geocoding, and tax calculation, each available directly as an API today.

This guide will walk you through setting up your credentials and making your first live API request to standardize a global address.


Follow these steps to make your first request to the GoodVat API.

  1. Create an API Key

    Server-to-server API requests require a bearer authentication key. Go to your GoodVat Dashboard API Keys page, click Create API Key, and copy your secret key (gv_live_...).

  2. Subscribe to Address Standardization

    Visit the Products Dashboard and enable Address Standardization for your organization. Accounts include instant access.

  3. Make Your First API Request

    Pass your secret key as a Bearer token in the Authorization header when sending requests to the Address Standardization endpoint:

Terminal window
curl -X POST "https://api.goodvat.com/v1/address/normalize" \
-H "Authorization: Bearer YOUR_SECRET_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "10 Downing Street, London SW1A 2AA, UK"
}'

A successful request returns HTTP 200 OK with granular structured components and canonical string expansions. Only fields the parser was confident about are included:

200 OK
{
"houseNumber": "10",
"road": "downing street",
"postcode": "sw1a 2aa",
"city": "london",
"country": "GBR",
"expansions": [
"10 downing street london sw1a 2aa uk",
"10 downing street london sw1a 2aa united kingdom"
]
}
FieldDescription
expansionsCanonical, fully expanded string variations of the input address (string[]), standardizing abbreviations (e.g. ststreet, aveavenue, stesuite) for turnkey search indexing and deduplication.
houseNumberStreet or building number.
roadStreet name or thoroughfare.
unitApartment, suite, or unit number.
postcodePostal or ZIP code.
cityCity, town, or village.
stateState, province, or region.
countryISO 3166-1 alpha-3 country code, when present in the input.

See the Address Standardization page for the full field reference, expansion engine details, and production use cases.


GoodVat provides an expanding suite of global commerce tax and address utilities:

Address Standardization

Live now. Standardize and format global customer shipping & billing addresses for accurate tax jurisdiction matching.

USA Geocoding

Coming soon. High-precision rooftop geocoding across all 50 US states to resolve complex local sales tax boundaries.

Global Tax Calculation

Coming soon. Real-time sales tax, VAT, and GST calculation across 14,000+ jurisdictions worldwide.


Now that you’ve sent your first request, explore the rest of our documentation to integrate GoodVat into your production systems: