Skip to documentation
Developer documentation
Get API key
REST API v1

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.

1

Create an account

Sign up at townshipcanada.com/app/api to open the developer dashboard.

2

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.

3

Install an SDK

TypeScript
npm install townshipcanada
Python
pip install townshipcanada
4

Make your first request

Use your API key to convert a legal land description:

Search by LLD
// 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)

Try It Now

Live Demo
GET/search/legal-location?location=1-2-23-22-W4
Response
Response will appear here...