SDKs & tools
Integrate the Metaventus API with the tool of your choice.
cURL
curl https://api.metaventus.com/v1/entities?entity_type=contact \
-H "X-API-Key: YOUR_API_KEY"
Node.js
const res = await fetch("https://api.metaventus.com/v1/entities?entity_type=contact", {
headers: { "X-API-Key": process.env.METAVENTUS_API_KEY },
});
const { data } = await res.json();
Python
import requests
r = requests.get(
"https://api.metaventus.com/v1/entities?entity_type=contact",
headers={"X-API-Key": API_KEY},
)
print(r.json())
What to know before writing your own client
The API requires no library: a key in a header, JSON both ways. Three points are enough to write a correct client.
- Treat every
2xxas a success.201,202and204are successes just as much as200— see Errors. - Plan for the
429. Exponential backoff avoids sustaining the refusal; see Rate limits. - Walk lists page by page, never item by item; see Pagination and sorting.