Getting Started
Make Your First Request
This guide will walk you through a series of steps to make your first request and subsequent calls. This is a great resource if you are a brand-new consumer of Sayari’s API. If you are brand new, consider utilizing our Postman Collection to familiarize yourself.
Authentication
This guide assumes that you have API credentials CLIENT_ID
and CLIENT_SECRET
, which are required to obtain a bearer token.
Interested and need credentials? Fill out this form and our team will get in touch.
Choose a Starting Point
Sayari has three endpoints that can be used to kick off a workflow, each tailored for specific use cases. Understanding when to use each is key to your success.
For the purpose of this guide, /resolution
has been selected as the starting point.
Resolution
Use Case: Entity Screening and Validation
Resolution utilizes elastic search and natural language processing (NLP) techniques to provide the most accurate matches for your query. The response includes an entity attribute profile, Sayari entity_id
, and explanation to help you understand how confident each match is.
Entity Search
Use Case: Investigations, Broad Searches, and Exploratory Lead Generation
Best suited for investigative purposes where your search terms might be broad. Sayari search takes the query term and returns an entity’s general profile, relationships, risks, and attributes. Overall, this endpoint is ideal for lead generation.
Trade Search
Use Case: Trade Data Searches and Investigations
Designed for searching global trade data, including shipments, buyers, and suppliers, with three specific endpoints: /shipments
, /suppliers
, and /buyers
. The response provides key shipping data, including dates, departure and arrival destinations, risks associated with involved parties, Harmonized System (HS) codes, shipment descriptions, weight and other measures, and much more! Enable facets
to return summarized trade activity.
Make a Request to Resolution
In this example, the entity of interest is:
name
: VIKTOR ALEKSEEVICH OZEROVaddress
: Kab. 101, 19 Ul. Muravyova-Amurskogo, Khabarovsk, 680000country
: RUStype
: person
If your environment is set up correctly and you’ve entered the above parameters, you should receive the following response:
Congratulations! You’ve successfully made your first call to Sayari and completed our version of Hello World! In the response, you’ll see a Sayari "entity_id": "5eXI5D1vfHoj7ohDoW59Vw"
, which is the vital object to progress to the other endpoints.