> For the complete documentation index, see [llms.txt](https://docs.quadratichq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quadratichq.com/import-data/api-requests.md).

# API requests

For any data sources you can't connect directly to with SQL, we recommend using API requests via Python or JavaScript. Alternatively, you can import Excel files, drag and drop CSVs, or [let us know if you need help](https://quadratichq.com/contact) with the specific data source you're trying to connect.&#x20;

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f40d">🐍</span> Make an API request from Python -></td><td></td><td></td><td><a href="/pages/gonxIBjOhzIg4gQLfvxq">/pages/gonxIBjOhzIg4gQLfvxq</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f7e8">🟨</span> Make an API request from JavaScript -></td><td></td><td></td><td><a href="/pages/v9OuRPCASJZxnZu2fsMr">/pages/v9OuRPCASJZxnZu2fsMr</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f7e9">🟩</span> Import Excel files -></td><td></td><td></td><td><a href="/pages/1RtflwVfZutTB9pRxEWZ">/pages/1RtflwVfZutTB9pRxEWZ</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4c1">📁</span> Drag and drop .CSV files -></td><td></td><td></td><td><a href="/pages/VEoSfKAoFlsspnVMA5Mg">/pages/VEoSfKAoFlsspnVMA5Mg</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f5c4">🗄️</span> Drag and drop .Parquet files -></td><td></td><td></td><td><a href="/pages/qyg2fTsqHd04LwPB4IXF">/pages/qyg2fTsqHd04LwPB4IXF</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.quadratichq.com/import-data/api-requests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
