Skip to main content

JavaScript SDK

Coming soon. A JavaScript and TypeScript client library for the Filedgr API is on the roadmap.

In the meantime you can build against the REST API directly — it is plain JSON over HTTPS with two auth headers, so any HTTP client gets you there in a few lines:

const res = await fetch("https://api.filedgr.network/vaults", {
headers: {
"x-api-key": process.env.FILEDGR_API_KEY,
"x-api-secret": process.env.FILEDGR_API_SECRET,
},
});
const vaults = res.status === 204 ? [] : (await res.json()).content;

See SDKs for a fuller wrapper, Quick Start for an end-to-end walkthrough, and the API Reference for every endpoint.