API documentation
Convert your first Canadian legal land description to coordinates.
Canadian land data, ready for your application
Start with search and autocomplete, convert records in batches, or add survey maps and Agriculture and Energy intelligence. Examples use TypeScript, Python and cURL.
On this page
Make your first request
Create a key, install an SDK, and send an authenticated request.
Create an account
Sign up at townshipcanada.com/app/api to open the developer dashboard.
Get your API key
Choose the API product you need and create a key in your developer dashboard. Store it in an environment variable on your server.
Install an SDK
npm install townshipcanadapip install townshipcanadaMake your first request
Use your API key to convert a legal land description:
// npm install townshipcanada
import { TownshipClient } from 'townshipcanada'
const client = new TownshipClient({ apiKey: 'your_api_key' })
const result = await client.search('NW-25-24-1-W5')
console.log(result.latitude, result.longitude)Using Claude or ChatGPT? The Township Canada connector and plugin use your Pro or Business account through sign-in. Follow the AI app setup guide to connect without an API key.
Try It Now
Live Demo/search/legal-location?location=1-2-23-22-W4