ThreatExchange is a subset of API endpoints within the larger ecosystem of Facebook Graph APIs. It is recommended to review the Graph API documentation, as it covers key concepts: usage of access tokens for authentication, result pagination, and batching.
The ThreatExchange APIs are made up of various objects and each object can have connections to other objects. For instance, a threat indicator is an object that can be connected to other threat indicators or malware.
ThreatExchange also allows for multiple members to share the same threat indicator. Because there is the potential for a collision, we separate each member's submission into distinct ThreatDescriptor objects, which are connected to their respective ThreatIndicator
You can access a Graph object’s properties with its unique ID, e.g. for a ThreatIndicator object:
You can do the same for all other objects type within ThreatExchange:
Queries into ThreatExchange are HTTP GET requests to one of the following URLs:
To ensure consistency, the ThreatExchange APIs and its consumers use JSON objects as their default currency. Using these APIs gives you a lot of things for free:
All objects are formatted as maps using a predefined set of field names, with expected value types. They can be of arbitrary size and field order in the map is, generally, not important.