Skip to content

references

The publisher’s page and machine-readable call in each language, dated versions, the ids it goes by, its bill, notices and orders.

Where to read itDeterministicREST: GET /api/v1/references

Example

Call
{
  "tool": "references",
  "citation": "Criminal Code, s. 253"
}
Response
{
  "match": "exact",
  "instrument": {
    "id": "98df1934-d85f-45af-b059-d0f6dc1a5d9c",
    "official_id": "C-46",
    "kind": "act",
    "jurisdiction": "federal",
    "citation": "R.S.C., 1985, c. C-46",
    "title_en": "Criminal Code",
    "title_fr": "Code criminel",
    "publisher_url": "https://laws-lois.justice.gc.ca/eng/acts/C-46/index.html"
  },
  "instrument_status": "in_force",
  "provision": {
    "id": "48ec3b9c-bdaf-49dd-9e70-8eac36e0d24a",
    "path": "253",
    "label": "s. 253"
  },
  "wording": [
    {
      "lang": "en",
      "kind": "publisher_page",
      "url": "https://laws-lois.justice.gc.ca/eng/acts/C-46/index.html"
    },
    {
      "lang": "fr",
      "kind": "publisher_page",
      "url": "https://laws-lois.justice.gc.ca/fra/lois/C-46/index.html"
    }
  ],
  "provision_url": "https://laws-lois.justice.gc.ca/eng/acts/C-46/section-253.html",
  "point_in_time": {
    "index": [
      {
        "lang": "en",
        "url": "https://laws-lois.justice.gc.ca/eng/acts/C-46/PITIndex.html"
      },
      {
        "lang": "fr",
        "url": "https://laws-lois.justice.gc.ca/fra/lois/C-46/PITIndex.html"
      }
    ],
    "versions": [],
    "archive": []
  },
  "identifiers": [
    {
      "scheme": "legisail",
      "value": "98df1934-d85f-45af-b059-d0f6dc1a5d9c"
    },
    {
      "scheme": "justice",
      "value": "C-46"
    }
  ],
  "bill": null,
  "gazette": [],
  "orders": [],
  "candidates": []
}

Asked on 30 November 2026. Lists are cut to their first two entries, and meta, which every answer carries, is left out here: see the dates policy.

Parameters

NameTypeDescription
citationstring, optionalAs /resolve. Pass this or id, not both.
iduuid, optionalAn instrument's id (any kind, bills included), or a provision's.
jurisdictionstring, optionalAs /resolve.

How a citation is matched

The same citation always gets the same answer, however it is written.

  1. Write it the way the jurisdiction does. Any form on the citation forms page works, in English or French, with or without full stops and spaces: s. 2 (1) (a), art. 2, 2-36.1, 65D(1).
  2. Say which jurisdiction when the title is shared. Several provinces have an Employment Standards Act. Pass jurisdiction, name the province in the citation, or cite a provision only one of them has.
  3. Close matches come back as choices. A misspelt or shortened title returns the likely Acts with what tells them apart: jurisdiction, year, chapter. Your assistant picks the right one.
  4. No match means no match. You get not_found with up to five nearest titles, never a guess, and the call does not count against your quota.

Statuses and reasons

The answer's own values, so a client can branch on them:

matchexact · instrument_only · ambiguous · not_found
HTTP statusWhen
200Where to read it, or the choices when the reference named several instruments or none.
400A parameter is missing or not valid; field names it.
401No key, or a key that is not valid or has been revoked.
403A jurisdiction outside the key's scope, or an evaluation key after its last day.
404No such route.
429Over the key's limit for the minute, or for the day where the key has one; a day ends at midnight Pacific time. Retry-After gives the seconds to wait.
500Legisail's fault, recorded; or a response withheld because it would have carried wording.

Same answer over REST

curl "https://legisail.com/api/v1/references?citation=Criminal+Code,+s.+253" \
  -H "Authorization: Bearer $LEGISAIL_KEY"

Responses carry X-Legisail-Version, the API version, and X-Legisail-Data-Revision, the position of the record they were read from. Breaking changes get thirty days' notice in the changelog; old ids resolve forever.