Find an API

Search public APIs with auth details & Postman guides

← All APIs

Auckland Museum API

aucklandmuseum · Data

Data No Auth Free & Open open_data

This is technical documentation for the Auckland Museum API

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Auckland Museum SPARQL endpoint

You can execute your [SPARQL](http://www.w3.org/TR/rdf-sparql-query/) queries against this endpoint. The sparql query should be provided as the value of the request parameter `query`. Set the `Accept` header to `application/sparql-results+xml` to get results in XML. Set it to `application/sparql-re

https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/sparql?infer=true&query=test&callback=callback

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/sparql?infer=true&query=test&callback=callback"
import requests
params = {
    "infer": "true",
    "query": "test",
    "callback": "callback"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/sparql",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/sparql');
url.searchParams.set('infer', 'true');
url.searchParams.set('query', 'test');
url.searchParams.set('callback', 'callback');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/sparql")
	q := baseURL.Query()
	q.Set("infer", "true")
	q.Set("query", "test")
	q.Set("callback", "callback")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/sparql")
uri.query = URI.encode_www_form({
  "infer" => "true",
  "query" => "test",
  "callback" => "callback"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/sparql?" . http_build_query([
    "infer" => "true",
    "query" => "test",
    "callback" => "callback"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Retrieve media associated with Collections and Cenotaph subjects in Auckland Museum

Gets `media` at a given path

https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/media/{path}?rendering=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/media/{path}?rendering=example"
import requests
params = {
    "rendering": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/media/{path}",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/media/{path}');
url.searchParams.set('rendering', 'example');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/media/{path}")
	q := baseURL.Query()
	q.Set("rendering", "example")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/media/{path}")
uri.query = URI.encode_www_form({
  "rendering" => "example"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/media/{path}?" . http_build_query([
    "rendering" => "example"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Explore details about a given subject node

Gets information about a `subject` identified by the `identifier`. The response format depends upon the `Accept` header. - `text/html` - the default response type. Returned data can be easily viewed in any modern Internet Browser - `application/ld+json` - the response will be in [JSON-LD](http:

https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/{identifier}

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/{identifier}"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/{identifier}",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/{identifier}';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/{identifier}"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/{identifier}")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/aucklandmuseum.com/2.0.0/id/{identifier}";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Auckland Museum API?

Auckland Museum API is a Data API. Developers commonly use data APIs for:

  • enriching your app with third-party datasets
  • building data pipelines and ETL workflows
  • querying and searching large datasets
  • powering research, analysis, and reporting tools
  • syncing reference data into your own systems

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Auckland Museum API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗