curl --request POST \
--url https://api.anysite.io/api/iec/publications/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 500,
"timeout": 300,
"query": "<string>",
"publication_types": [],
"document_forms": [],
"publishers": [],
"statuses": [],
"file_formats": [],
"committees": [
"<string>"
],
"subcommittees": [
"<string>"
],
"ics_codes": [
"<string>"
],
"published_from": "<string>",
"published_to": "<string>",
"include_test_reports": true,
"sort": "reference_asc"
}
'import requests
url = "https://api.anysite.io/api/iec/publications/search"
payload = {
"count": 500,
"timeout": 300,
"query": "<string>",
"publication_types": [],
"document_forms": [],
"publishers": [],
"statuses": [],
"file_formats": [],
"committees": ["<string>"],
"subcommittees": ["<string>"],
"ics_codes": ["<string>"],
"published_from": "<string>",
"published_to": "<string>",
"include_test_reports": True,
"sort": "reference_asc"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 500,
timeout: 300,
query: '<string>',
publication_types: [],
document_forms: [],
publishers: [],
statuses: [],
file_formats: [],
committees: ['<string>'],
subcommittees: ['<string>'],
ics_codes: ['<string>'],
published_from: '<string>',
published_to: '<string>',
include_test_reports: true,
sort: 'reference_asc'
})
};
fetch('https://api.anysite.io/api/iec/publications/search', 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.anysite.io/api/iec/publications/search",
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([
'count' => 500,
'timeout' => 300,
'query' => '<string>',
'publication_types' => [
],
'document_forms' => [
],
'publishers' => [
],
'statuses' => [
],
'file_formats' => [
],
'committees' => [
'<string>'
],
'subcommittees' => [
'<string>'
],
'ics_codes' => [
'<string>'
],
'published_from' => '<string>',
'published_to' => '<string>',
'include_test_reports' => true,
'sort' => 'reference_asc'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$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.anysite.io/api/iec/publications/search"
payload := strings.NewReader("{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"publication_types\": [],\n \"document_forms\": [],\n \"publishers\": [],\n \"statuses\": [],\n \"file_formats\": [],\n \"committees\": [\n \"<string>\"\n ],\n \"subcommittees\": [\n \"<string>\"\n ],\n \"ics_codes\": [\n \"<string>\"\n ],\n \"published_from\": \"<string>\",\n \"published_to\": \"<string>\",\n \"include_test_reports\": true,\n \"sort\": \"reference_asc\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
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.anysite.io/api/iec/publications/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"publication_types\": [],\n \"document_forms\": [],\n \"publishers\": [],\n \"statuses\": [],\n \"file_formats\": [],\n \"committees\": [\n \"<string>\"\n ],\n \"subcommittees\": [\n \"<string>\"\n ],\n \"ics_codes\": [\n \"<string>\"\n ],\n \"published_from\": \"<string>\",\n \"published_to\": \"<string>\",\n \"include_test_reports\": true,\n \"sort\": \"reference_asc\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/iec/publications/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"publication_types\": [],\n \"document_forms\": [],\n \"publishers\": [],\n \"statuses\": [],\n \"file_formats\": [],\n \"committees\": [\n \"<string>\"\n ],\n \"subcommittees\": [\n \"<string>\"\n ],\n \"ics_codes\": [\n \"<string>\"\n ],\n \"published_from\": \"<string>\",\n \"published_to\": \"<string>\",\n \"include_test_reports\": true,\n \"sort\": \"reference_asc\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "IecPublication",
"urn": "<string>",
"url": "<string>",
"art_num": "<string>",
"reference": "<string>",
"reference_parts": {
"@type": "IecReferenceParts",
"head": "<string>",
"number": "<string>",
"part": "<string>",
"section": "<string>",
"amendment": "<string>",
"corrigendum": "<string>",
"version": "<string>",
"issue": "<string>"
},
"publication_title": "<string>",
"abstract": "<string>",
"edition": "<string>",
"status": "<string>",
"document_form": "<string>",
"publication_date": "<string>",
"isbn": "<string>",
"page_count": 123,
"price": {
"@type": "IecPrice",
"amount": 123,
"currency": "<string>"
},
"available_formats": [],
"available_files": [],
"preview_languages": [],
"deliverables": [],
"committee": {
"@type": "IecCommittee",
"level_1": "<string>",
"level_1_title": "<string>",
"level_2": "<string>",
"level_2_title": "<string>"
},
"ics": [],
"classifications": [],
"lifecycle": [],
"related_publications": [],
"referenced_by": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/iec/publications/search
Search the IEC Webstore catalogue of IEC, CISPR, IECEE, IECEx, IECQ and joint ISO/IEC, IEC/IEEE and IEC/ASTM publications. Narrows by free text, deliverable type, the form the document is sold in, publishing body, lifecycle status, file format, technical committee and subcommittee, ICS classification code and publication date range, and orders by reference, publication date or relevance. Each result is the full catalogue record: reference, title, abstract, edition, status, price in Swiss francs, page count, committee, ICS codes, the edition and amendment lifecycle and the citation graph.
Price: 20 credits per 100 results
⚠️ Common errors: 412: No publication matched the filter combination, 422: An ICS code, date or sort value is malformed, or sort=relevance was passed without a query
curl --request POST \
--url https://api.anysite.io/api/iec/publications/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 500,
"timeout": 300,
"query": "<string>",
"publication_types": [],
"document_forms": [],
"publishers": [],
"statuses": [],
"file_formats": [],
"committees": [
"<string>"
],
"subcommittees": [
"<string>"
],
"ics_codes": [
"<string>"
],
"published_from": "<string>",
"published_to": "<string>",
"include_test_reports": true,
"sort": "reference_asc"
}
'import requests
url = "https://api.anysite.io/api/iec/publications/search"
payload = {
"count": 500,
"timeout": 300,
"query": "<string>",
"publication_types": [],
"document_forms": [],
"publishers": [],
"statuses": [],
"file_formats": [],
"committees": ["<string>"],
"subcommittees": ["<string>"],
"ics_codes": ["<string>"],
"published_from": "<string>",
"published_to": "<string>",
"include_test_reports": True,
"sort": "reference_asc"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 500,
timeout: 300,
query: '<string>',
publication_types: [],
document_forms: [],
publishers: [],
statuses: [],
file_formats: [],
committees: ['<string>'],
subcommittees: ['<string>'],
ics_codes: ['<string>'],
published_from: '<string>',
published_to: '<string>',
include_test_reports: true,
sort: 'reference_asc'
})
};
fetch('https://api.anysite.io/api/iec/publications/search', 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.anysite.io/api/iec/publications/search",
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([
'count' => 500,
'timeout' => 300,
'query' => '<string>',
'publication_types' => [
],
'document_forms' => [
],
'publishers' => [
],
'statuses' => [
],
'file_formats' => [
],
'committees' => [
'<string>'
],
'subcommittees' => [
'<string>'
],
'ics_codes' => [
'<string>'
],
'published_from' => '<string>',
'published_to' => '<string>',
'include_test_reports' => true,
'sort' => 'reference_asc'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$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.anysite.io/api/iec/publications/search"
payload := strings.NewReader("{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"publication_types\": [],\n \"document_forms\": [],\n \"publishers\": [],\n \"statuses\": [],\n \"file_formats\": [],\n \"committees\": [\n \"<string>\"\n ],\n \"subcommittees\": [\n \"<string>\"\n ],\n \"ics_codes\": [\n \"<string>\"\n ],\n \"published_from\": \"<string>\",\n \"published_to\": \"<string>\",\n \"include_test_reports\": true,\n \"sort\": \"reference_asc\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
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.anysite.io/api/iec/publications/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"publication_types\": [],\n \"document_forms\": [],\n \"publishers\": [],\n \"statuses\": [],\n \"file_formats\": [],\n \"committees\": [\n \"<string>\"\n ],\n \"subcommittees\": [\n \"<string>\"\n ],\n \"ics_codes\": [\n \"<string>\"\n ],\n \"published_from\": \"<string>\",\n \"published_to\": \"<string>\",\n \"include_test_reports\": true,\n \"sort\": \"reference_asc\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/iec/publications/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"publication_types\": [],\n \"document_forms\": [],\n \"publishers\": [],\n \"statuses\": [],\n \"file_formats\": [],\n \"committees\": [\n \"<string>\"\n ],\n \"subcommittees\": [\n \"<string>\"\n ],\n \"ics_codes\": [\n \"<string>\"\n ],\n \"published_from\": \"<string>\",\n \"published_to\": \"<string>\",\n \"include_test_reports\": true,\n \"sort\": \"reference_asc\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "IecPublication",
"urn": "<string>",
"url": "<string>",
"art_num": "<string>",
"reference": "<string>",
"reference_parts": {
"@type": "IecReferenceParts",
"head": "<string>",
"number": "<string>",
"part": "<string>",
"section": "<string>",
"amendment": "<string>",
"corrigendum": "<string>",
"version": "<string>",
"issue": "<string>"
},
"publication_title": "<string>",
"abstract": "<string>",
"edition": "<string>",
"status": "<string>",
"document_form": "<string>",
"publication_date": "<string>",
"isbn": "<string>",
"page_count": 123,
"price": {
"@type": "IecPrice",
"amount": 123,
"currency": "<string>"
},
"available_formats": [],
"available_files": [],
"preview_languages": [],
"deliverables": [],
"committee": {
"@type": "IecCommittee",
"level_1": "<string>",
"level_1_title": "<string>",
"level_2": "<string>",
"level_2_title": "<string>"
},
"ics": [],
"classifications": [],
"lifecycle": [],
"related_publications": [],
"referenced_by": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
1 <= x <= 100020 <= x <= 15001IS, TRF, TR, TS, PAS, GUIDE, SRD, OTHER, WP, STTR, TEC, TMOP STANDARD, PUBLICATION, CONSOLIDATED, REDLINE, COMMENTED, EXTENDED, PACK, PRERELEASE, SERIES IEC, ISO/IEC, IECEE, ISO, CISPR, ISO/IEC/IEEE, IECEx, IEC/IEEE, IECQ, IEC/ASTM, IEC/ISO, IEC/ISO/IEEE PUBLISHED, REVISED, REPLACED, WITHDRAWN PDF, DOC, XML, TRF reference_asc, reference_desc, publication_date_asc, publication_date_desc, relevance Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes