LearnGraph LoginRequest a Demo
HomeAPIBulk DataSayari LibraryChange Log
  • Key Concepts
    • Introduction
    • Endpoint Overview
    • Authentication
    • Requests
    • Pagination
    • Response Status Codes
    • Data Types
    • Rate Limits
  • API Clients
    • Overview
    • Open API
    • Postman
    • Go
    • Python
    • Node
  • API Reference
  • Guides
    • Getting Started
    • Understanding Project Entity
    • Risk Factors
    • Entity Search
    • Advanced Entity Search
    • Resolution
    • Trade Search - Shipments
    • Trade Search - Suppliers & Buyers
    • v0 Migration
  • Implementation Patterns
    • Project Entity Supply Chain
  • Use Cases
    • Entity Screening & Verification
    • Investigations
LogoLogo
LearnGraph LoginRequest a Demo
API ReferenceOntology

Get Enums

GA
GET
/v1/ontology/enums
GET
/v1/ontology/enums
1curl -G https://api.sayari.com/v1/ontology/enums \
2 -H "Authorization: Bearer <token>" \
3 -d id=address_type
Try it
200Retrieved
1{
2 "filters": {
3 "id": [
4 "address_type"
5 ]
6 },
7 "data": [
8 {
9 "id": "address_type",
10 "label": "Address Type",
11 "comment": "This enumerated type indicates the kind of location an address is referring to.",
12 "symbols": [
13 {
14 "id": "arrival",
15 "label": "Arrival",
16 "comment": "This enumerated type indicates the kind of location an address is referring to."
17 }
18 ]
19 }
20 ],
21 "total_count": 1234
22}
Get enums from ontology data.
Was this page helpful?
Previous

Get HS Codes

Next
Built with
Get HS Codes
Get enums from ontology data.

Authentication

AuthorizationBearer
OAuth authentication of the form `<token>`.

Query Parameters

idlist of stringsOptional
Enum Id filter.

Response

This endpoint returns an object.
filtersobject
datalist of objects
total_countinteger

Errors

Enum Id filter.

OAuth authentication of the form <token>.