curl --request POST \
--url https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"conditions": [
{
"field": "Field_Name",
"value": "Holloway, Stanley"
}
],
"database": "People"
}
'import requests
url = "https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records"
payload = {
"conditions": [
{
"field": "Field_Name",
"value": "Holloway, Stanley"
}
],
"database": "People"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
conditions: [{field: 'Field_Name', value: 'Holloway, Stanley'}],
database: 'People'
})
};
fetch('https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'conditions' => [
[
'field' => 'Field_Name',
'value' => 'Holloway, Stanley'
]
],
'database' => 'People'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records"
payload := strings.NewReader("{\n \"conditions\": [\n {\n \"field\": \"Field_Name\",\n \"value\": \"Holloway, Stanley\"\n }\n ],\n \"database\": \"People\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"conditions\": [\n {\n \"field\": \"Field_Name\",\n \"value\": \"Holloway, Stanley\"\n }\n ],\n \"database\": \"People\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"conditions\": [\n {\n \"field\": \"Field_Name\",\n \"value\": \"Holloway, Stanley\"\n }\n ],\n \"database\": \"People\"\n}"
response = http.request(request)
puts response.read_body{
"count": 2,
"database": "People",
"database_label": "Persons and Institutions",
"next_page": null,
"observed_at_ms": 1791608339241,
"page": 1,
"page_count": 1,
"page_size": 10,
"results": [
{
"collections": [],
"detail_url": "https://collections-search.bfi.org.uk/web/Details/People/222439",
"lines": [
"Holloway, Stanley",
"Cast (person), Direction (person), Presentation (person)",
"Born: 1890-10-01, Manor House, London, England",
"Name note: Born Stanley Augustus Holloway. Son actor Julian Holloway."
],
"links": [],
"position": 1,
"priref": "222439",
"title": "Holloway, Stanley"
},
{
"collections": [],
"detail_url": "https://collections-search.bfi.org.uk/web/Details/People/999592270",
"lines": [
"HOLLOWAY, Stanley"
],
"links": [],
"position": 2,
"priref": "999592270",
"title": "HOLLOWAY, Stanley"
}
],
"search_description": "Name = Holloway, Stanley",
"source_url": "https://collections-search.bfi.org.uk/web/results",
"total": 2
}Search records
Find BFI catalogue records (films, TV programmes, archive items, books, articles, posters, stills, people) matching field conditions, then follow the prirefs with get_record. Use list_search_fields first when unsure which field names a database supports.
curl --request POST \
--url https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"conditions": [
{
"field": "Field_Name",
"value": "Holloway, Stanley"
}
],
"database": "People"
}
'import requests
url = "https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records"
payload = {
"conditions": [
{
"field": "Field_Name",
"value": "Holloway, Stanley"
}
],
"database": "People"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
conditions: [{field: 'Field_Name', value: 'Holloway, Stanley'}],
database: 'People'
})
};
fetch('https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'conditions' => [
[
'field' => 'Field_Name',
'value' => 'Holloway, Stanley'
]
],
'database' => 'People'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records"
payload := strings.NewReader("{\n \"conditions\": [\n {\n \"field\": \"Field_Name\",\n \"value\": \"Holloway, Stanley\"\n }\n ],\n \"database\": \"People\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"conditions\": [\n {\n \"field\": \"Field_Name\",\n \"value\": \"Holloway, Stanley\"\n }\n ],\n \"database\": \"People\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"conditions\": [\n {\n \"field\": \"Field_Name\",\n \"value\": \"Holloway, Stanley\"\n }\n ],\n \"database\": \"People\"\n}"
response = http.request(request)
puts response.read_body{
"count": 2,
"database": "People",
"database_label": "Persons and Institutions",
"next_page": null,
"observed_at_ms": 1791608339241,
"page": 1,
"page_count": 1,
"page_size": 10,
"results": [
{
"collections": [],
"detail_url": "https://collections-search.bfi.org.uk/web/Details/People/222439",
"lines": [
"Holloway, Stanley",
"Cast (person), Direction (person), Presentation (person)",
"Born: 1890-10-01, Manor House, London, England",
"Name note: Born Stanley Augustus Holloway. Son actor Julian Holloway."
],
"links": [],
"position": 1,
"priref": "222439",
"title": "Holloway, Stanley"
},
{
"collections": [],
"detail_url": "https://collections-search.bfi.org.uk/web/Details/People/999592270",
"lines": [
"HOLLOWAY, Stanley"
],
"links": [],
"position": 2,
"priref": "999592270",
"title": "HOLLOWAY, Stanley"
}
],
"search_description": "Name = Holloway, Stanley",
"source_url": "https://collections-search.bfi.org.uk/web/results",
"total": 2
}Request contract
- Method and path: POST /apis/v1/collections-search-bfi-org-uk/records/search-records
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/collections-search-bfi-org-uk/records/search-records
{
"operationId": "collections-search-bfi-org-uk.records.search-records",
"method": "POST",
"path": "/apis/v1/collections-search-bfi-org-uk/records/search-records",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"conditions": [
{
"field": "Field_Name",
"value": "Holloway, Stanley"
}
],
"database": "People",
"page_size": 10,
"sort_field": "Search_SortName"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"conditions": {
"description": "Field conditions combined in order with each condition's connective (the first connective is ignored by the site).",
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
"database": {
"description": "Database (the form's SourceName): ChoiceFilmWorks = Film and Television Works, ChoiceFilmItems = film/video items, People = Persons and Institutions, ChoiceBooks, ChoiceSerials, ChoiceArticles, ChoicePresscuttings, ChoiceArchive (scripts, documents, ephemera), ChoicePosters, ChoiceStills, ChoiceSpecialCollections, ChoiceLibrary.\n\nProvider reference: allowed values [\"ChoiceFilmWorks\", \"ChoiceFilmItems\", \"ChoiceLibrary\", \"ChoiceBooks\", \"ChoiceSerials\", \"ChoiceArticles\", \"ChoicePresscuttings\", \"ChoiceSpecialCollections\", \"ChoiceArchive\", \"ChoicePosters\", \"ChoiceStills\", \"People\"].",
"type": "string"
},
"page": {
"default": 1,
"description": "1-based results page. Pass `next_page` from the previous output to continue.\n\nProvider reference: minimum 1; maximum 10000; default 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 10000,
"min": 1
}
},
"page_size": {
"default": 25,
"description": "Records per page; the site offers exactly these sizes.\n\nProvider reference: allowed values [\"10\", \"25\", \"50\", \"100\", \"250\"]; default 25.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"10",
"25",
"50",
"100",
"250"
]
}
},
"sort_direction": {
"default": "Ascending",
"description": "sort_direction\n\nProvider reference: allowed values [\"Ascending\", \"Descending\"]; default \"Ascending\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"Ascending",
"Descending"
]
}
},
"sort_field": {
"description": "Sort field from `list_search_fields` sort_options (Search_SortTitle, Search_SortTitleDate, Search_SortName, ...). Default Search_Unsorted (the site's relevance/record order). Pattern: ^Search_[A-Za-z0-9_]{1,60}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"conditions",
"database"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Database (the form's SourceName): ChoiceFilmWorks = Film and Television Works, ChoiceFilmItems = film/video items, People = Persons and Institutions, ChoiceBooks, ChoiceSerials, ChoiceArticles, ChoicePresscuttings, ChoiceArchive (scripts, documents, ephemera), ChoicePosters, ChoiceStills, ChoiceSpecialCollections, ChoiceLibrary.
Provider reference: allowed values ["ChoiceFilmWorks", "ChoiceFilmItems", "ChoiceLibrary", "ChoiceBooks", "ChoiceSerials", "ChoiceArticles", "ChoicePresscuttings", "ChoiceSpecialCollections", "ChoiceArchive", "ChoicePosters", "ChoiceStills", "People"].
Response
Expert search of one BFI Collections Search database (POST /web/search/expert): one to five field conditions (field name from list_search_fields, value, right-truncation on by default, and/or/and-not connective), an optional sort field and direction, 10 to 250 records per page and a page number. Returns the result count, the page navigator and the brief rows of the requested page: priref, detail URL, title and the summary lines the site renders (credits, dates, country, work type, 'Part of:' series; activity type for persons) plus the collection badges (Film / Video material, Books, Articles, ...). Page 1 comes from the search POST; later pages re-run the search and read /web/results/{page} in the same session.
The response contains the tool result directly.
The provider identifies results as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
collections | string[] | Collection badges shown on the row (Published by BFI, Film / Video material, Digital Stills, Scripts / Documents / Ephemera, Articles, Books, Viewable at BFI Southbank Mediatheque, ...). |
detail_url | string | |
lines | string[] | Every text line of the brief display in order, title included (credits, dates with their type, country, work type, category, 'Part of:' series; activity type or 'Use:' cross-reference for persons). |
links | object[] | Links inside the row other than the record's own detail link (e.g. a person authority's 'Use:' target). |
position | number | 1-based position in the whole result set. |
priref | string | Record identifier; get_record takes it with the database. |
title | string | First line of the brief display (title; name for persons). |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.