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

# /refunds

## POST /v1/{chain}/refunds

> \
> Get refunds for your account. Filter by time range, block range, and payout status. Supports pagination with limit and offset.\
> \
> \### Compression\
> \
> Optional HTTP compression is supported.\
> \
> \*\*Request\*\*: Clients may compress the JSON request body and specify the encoding via the \`Content-Encoding\` header.\
> \
> \*\*Response\*\*: Clients may request responses to be compressed by specifying encodings via the \`Accept-Encoding\` header.\
> \
> Supported encodings:\
> \- \`zstd\`\
> \- \`gzip\`\
> \- \`br\` (Brotli)<br>

```json
{"openapi":"3.1.0","info":{"title":"api-docs","version":"0.1.0"},"servers":[{"url":"https://api.novarpc.xyz"}],"security":[{"ApiKeyQuery":[]},{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Your API key"}},"schemas":{"Chain":{"type":"string","enum":["eth","base"]},"RefundsRequest":{"type":"object","properties":{"end_block":{"type":["integer","null"],"format":"int64","minimum":0},"end_time":{"type":["string","null"],"format":"date-time"},"limit":{"type":"integer","default":100000,"minimum":0},"offset":{"type":"integer","minimum":0},"payout_status":{"type":["string","null"]},"start_block":{"type":["integer","null"],"format":"int64","minimum":0},"start_time":{"type":["string","null"],"format":"date-time"}}},"RefundsResponse":{"type":"object","required":["refunds","count"],"properties":{"count":{"type":"integer","minimum":0},"refunds":{"type":"array","items":{"$ref":"#/components/schemas/RefundDetail"}}}},"RefundDetail":{"type":"object","required":["order_hash","block_number","refunded_amount","payout_status","is_mev_refund","timestamp"],"properties":{"block_number":{"type":"integer","format":"int64"},"is_mev_refund":{"type":"boolean"},"order_hash":{"type":"string"},"paid_at":{"type":["string","null"]},"payout_status":{"type":"string"},"payout_tx_hash":{"type":"string","description":"Transaction sent by Nova to pay this refund."},"refunded_amount":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}}}},"paths":{"/v1/{chain}/refunds":{"post":{"tags":["Reporting API"],"description":"\nGet refunds for your account. Filter by time range, block range, and payout status. Supports pagination with limit and offset.\n\n### Compression\n\nOptional HTTP compression is supported.\n\n**Request**: Clients may compress the JSON request body and specify the encoding via the `Content-Encoding` header.\n\n**Response**: Clients may request responses to be compressed by specifying encodings via the `Accept-Encoding` header.\n\nSupported encodings:\n- `zstd`\n- `gzip`\n- `br` (Brotli)\n","operationId":"refunds","parameters":[{"name":"chain","in":"path","description":"Chain to query for","required":true,"schema":{"$ref":"#/components/schemas/Chain"}},{"name":"api_key","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundsRequest"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundsResponse"}}}}}}}}}
```


---

# 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.novarpc.xyz/data-api/refunds.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.
