# Overview

The Defy Blockchain API can be used to pull balances, positions and historical granular transaction data from dozens of blockchain networks. This data enables hundreds of end-user use-cases like wallets, investor dashboards, taxation tools and as-of-yet unknown use-cases.

{% hint style="success" %}
***One Defy API. One Billion Possibilities.***
{% endhint %}

Defy API is RESTful. The API is designed around the main resources that's available through the web interface. Sample API calls are provided next to each method using cURL.

**Broadly speaking, there are four sections of endpoints:**

* Stream API
* Live AML API
* Security API
* Travel Rule API

## URL Patterns

*The API Host for all requests is* [*https://api.getdefy.co/v2/*](#url-patterns)

* The current version of the API is v2.
* All requests are done over HTTPS (calls over plain HTTP will fail.)
* The default return format for all endpoints is JSON.
* All requests require authentication.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getdefy.co/getting-started/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
