search_census_persons

Search people in the 1910 Norwegian census (folketelling 1910), the transcribed record of everyone present in Norway on 1 December 1910.

Signature: search_census_persons(query: string, optional, default None; first_name: string, optional, default None; last_name: string, optional, default None; sex: one of: m, k, optional, default None; birth_year: string, calendar year, optional, default None; birth_place: string, optional, default None; residence: string, optional, default None; occupation: string, optional, default None; match: one of: all, any, optional, default 'all'; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)

Direct GET

For navigating agents: open the HTML page with parameters in the URL. The result is fetched and displayed without screenshots or form filling.

https://allemannsdata.com/wiki/kilder/arkivverket/search_census_persons/?query={query}&first_name={first_name}&last_name={last_name}&sex={sex}&birth_year={birth_year}&birth_place={birth_place}&residence={residence}&occupation={occupation}&match=all&limit=25&offset=0

Replace {query}, {first_name}, {last_name}, {sex}, {birth_year}, {birth_place}, {residence}, {occupation}, {match}, {limit}, {offset} with values. Remove unused optional parameters from the URL.

For software and dashboards: Read the operation descriptor. The JSON GET template is https://allemannsdata.com/wiki/api/v1/kilder/arkivverket/search_census_persons?query={query}&first_name={first_name}&last_name={last_name}&sex={sex}&birth_year={birth_year}&birth_place={birth_place}&residence={residence}&occupation={occupation}&match=all&limit=25&offset=0.

ParameterRequirementJSON typeDescription
queryoptionalunionFree-text term(s), e.g. "ole hansen bergen". Uses `match`.
first_nameoptionalunionGiven name (fornavn), e.g. "Ole".
last_nameoptionalunionSurname (etternavn), e.g. "Hansen".
sexoptionalunion"m" (male) or "k" (female).
birth_yearoptionalunionBirth year, e.g. "1855". Unit: calendar year.
birth_placeoptionalunionBirth place (fødested), e.g. "Bergen".
residenceoptionalunionPlace of residence (bosted), e.g. "Balestrand".
occupationoptionalunionOccupation / civil standing (stilling_stand), e.g. "skomaker".
matchoptionalstringFor free-text only: "all" (default, all terms must match) or "any".
limitoptionalintegerResults per page. Unit: items. Through this API: default 25, maximum 100.
offsetoptionalintegerMatches to skip (default 0). Matches come in person-id order within each block of 100, so pages never overlap or skip. Unit: items.
Generated JavaScript, Python and response structure

Use JSON when the user requests code, machine-readable data, value extraction or further computation. Use the HTML GET page to identify the correct source and verify parameters.

Example for generated JavaScript and Python

https://allemannsdata.com/wiki/api/v1/kilder/arkivverket/search_census_persons?query={query}&first_name={first_name}&last_name={last_name}&sex={sex}&birth_year={birth_year}&birth_place={birth_place}&residence={residence}&occupation={occupation}&match=all&limit=25&offset=0

Replace URL placeholders and remove unused optional parameters.

JavaScript in a dashboard

const url = "https://allemannsdata.com/wiki/api/v1/kilder/arkivverket/search_census_persons?query={query}&first_name={first_name}&last_name={last_name}&sex={sex}&birth_year={birth_year}&birth_place={birth_place}&residence={residence}&occupation={occupation}&match=all&limit=25&offset=0";
const response = await fetch(url);
if (!response.ok) {
  const failure = await response.json();
  throw new Error(`${failure.error.code}: ${failure.error.message} ${failure.suggestion}`);
}
const result = await response.json();
const data = result.data;

Python without additional packages

import json
from urllib.request import urlopen

url = "https://allemannsdata.com/wiki/api/v1/kilder/arkivverket/search_census_persons?query={query}&first_name={first_name}&last_name={last_name}&sex={sex}&birth_year={birth_year}&birth_place={birth_place}&residence={residence}&occupation={occupation}&match=all&limit=25&offset=0"
with urlopen(url) as response:
    result = json.load(response)
data = result["data"]

Response structure

{
  "source": "arkivverket",
  "operation": "search_census_persons",
  "parameters": {},
  "data": {},
  "entities": [],
  "_meta": {"retrieved_at": "...", "sources": [], "cache": {}},
  "_links": {"self": "...", "source": "...", "wiki": "...", "feedback": "..."}
}
Form for manual use

The form is a fallback for people and browser agents that cannot open the GET URL directly.

Type: string. Free-text term(s), e.g. "ole hansen bergen". Uses `match`.
Type: string. Given name (fornavn), e.g. "Ole".
Type: string. Surname (etternavn), e.g. "Hansen".
Type: one of: m, k. "m" (male) or "k" (female).
Type: string. Birth year, e.g. "1855". Unit: calendar year.
Type: string. Birth place (fødested), e.g. "Bergen".
Type: string. Place of residence (bosted), e.g. "Balestrand".
Type: string. Occupation / civil standing (stilling_stand), e.g. "skomaker".
Type: one of: all, any. For free-text only: "all" (default, all terms must match) or "any".
Type: integer. Results per page. Unit: items. Through this API: default 25, maximum 100.
Type: integer. Matches to skip (default 0). Matches come in person-id order within each block of 100, so pages never overlap or skip. Unit: items.

Continue exploring

How an AI agent should use this page

Ground rule: Navigate with HTML GET links to keep explanations and relationships. Use the page's JSON alternative only when concrete values must be extracted, compared or computed.

How to use the search_census_persons lookup

  1. Replace the placeholders in the HTML GET template; remove optional parameters you do not need.
  2. Check types, units, limits and ID formats in the parameter table.
  3. Follow linked results to canonical pages before combining sources.

Misreading to avoid: An empty list means "no results for this lookup". An error message or unavailable source does not mean the data does not exist.

Source-specific next step

Go to the source page for other operations. Use the JSON template only after the HTML result shows that the parameters and source are correct.