# Calculation API Examples

Understanding which API request items are required for each methodology can sometimes be confusing, as each activity and methodology has its unique parameters and considerations. To help guide you through this, we provide a clear breakdown, activity-by-activity and methodology-by-methodology, so you know exactly what data needs to be included in your request and what to expect in the response. This way, whether you're calculating emissions for a travel or logistics activity, you'll have a precise guide for crafting requests and interpreting responses for each specific case, ensuring accurate and reliable carbon calculations.

For **multi-leg passenger flights** sent as a single item with a **`routing`** chain (instead of origin and destination), see [**Flight: Routing (multi-leg)**](/api-calculations-request-response/travel/flight/flight-routing.md) under Travel.


---

# 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-integration.squake.earth/api-calculations-request-response.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.
