> For the complete documentation index, see [llms.txt](https://docs.peach.ag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peach.ag/api-reference/readme/get-status.md).

# Get Status

Discover providers, chainflow sync state and current BSC router configuration.

## Get Status

> Discover currently available providers, chainflow sync state and router configuration. No request parameters. Configuration is a service snapshot; chainflows are not a guarantee of executable liquidity.

```json
{"openapi":"3.0.3","info":{"title":"BSC Aggregator HTTP API","version":"2026-10-20"},"tags":[{"name":"BSC Aggregator HTTP API","description":"Allowance: one request for a quote and executable transaction. Permit2: prepare, payer signing, then build. No prior find_routes request is required."}],"servers":[{"url":"https://api.peach.ag","description":"BSC production API (chain ID 56); operation availability follows deployment."}],"paths":{"/router/status":{"get":{"operationId":"getStatus","tags":["BSC Aggregator HTTP API"],"summary":"Get Status","description":"Discover currently available providers, chainflow sync state and router configuration. No request parameters. Configuration is a service snapshot; chainflows are not a guarantee of executable liquidity.","responses":{"200":{"description":"Application success (code=200) or application error (code!=200). Business errors may still have HTTP status 200; inspect the JSON code.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/StatusResponse"},{"$ref":"#/components/schemas/Error"}]}}}},"400":{"description":"Malformed query or request rejected by HTTP extraction. Body may be plain text rather than an application envelope.","content":{"text/plain":{"schema":{"type":"string"}}}},"500":{"description":"Unhandled service failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service-wide rate limit / circuit breaking. Retry with backoff.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"StatusResponse":{"type":"object","properties":{"code":{"type":"integer","enum":[200]},"msg":{"type":"string"},"data":{"$ref":"#/components/schemas/StatusData"}},"required":["code","msg","data"]},"StatusData":{"type":"object","properties":{"providers":{"type":"array","items":{"type":"string"}},"chainflows":{"type":"array","items":{"$ref":"#/components/schemas/ChainflowStatus"}},"peach_router":{"$ref":"#/components/schemas/PeachRouterConfig"}},"required":["providers","chainflows","peach_router"]},"ChainflowStatus":{"type":"object","properties":{"provider":{"type":"string"},"tx_cursor":{"type":"string","nullable":true},"version":{"type":"object","properties":{"latest_block_number":{"type":"integer","minimum":0},"latest_transaction_index":{"type":"integer","minimum":0}},"required":["latest_block_number","latest_transaction_index"]},"update_at":{"type":"integer","minimum":0,"description":"Unix timestamp in milliseconds."}},"required":["provider","tx_cursor","version","update_at"]},"PeachRouterConfig":{"type":"object","properties":{"router_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Legacy PeachRouter proxy metadata."},"execution_router_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ExecutionPlan router used by /router/swap*."},"max_custom_fee_bps":{"type":"integer","minimum":0},"max_protocol_cut_bps":{"type":"integer","minimum":0},"protocol_cut_bps":{"type":"integer","minimum":0,"description":"Protocol share of the custom fee, in basis points of that fee."},"chain_id":{"type":"integer","minimum":0},"protocol_fee_receiver":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"20-byte EVM address, prefixed with 0x."},"positive_capture_bps":{"type":"integer","minimum":0},"positive_volume_cap_bps":{"type":"integer","minimum":0},"enabled":{"type":"boolean","description":"Whether the service transaction builder is enabled. Returned by current production status; older deployments may omit it."},"default_slippage_bps":{"type":"integer","description":"Current service slippage default, in basis points. Returned by current production status; older deployments may omit it.","minimum":0},"default_deadline_secs":{"type":"integer","description":"Current service expiry offset default, in seconds. Returned by current production status; older deployments may omit it.","minimum":0},"execution_signer_version":{"type":"integer","description":"Current execution-plan signer version. Returned by current production status; older deployments may omit it.","minimum":0},"delegated_max_deadline_secs":{"type":"integer","description":"Current delegated deadline maximum, in seconds. Returned by current production status; older deployments may omit it.","minimum":0},"build_max_attempts_per_quote":{"type":"integer","description":"Current maximum build attempts for one prepared quote. Returned by current production status; older deployments may omit it.","minimum":0},"execution_base_gas":{"type":"integer","description":"Execution-plan fixed gas estimate component. Returned by current production status; older deployments may omit it.","minimum":0},"execution_step_gas":{"type":"integer","description":"Additional gas estimate per route step. Returned by current production status; older deployments may omit it.","minimum":0},"permit2_witness_gas":{"type":"integer","description":"Additional gas estimate for Permit2 witness funding. Returned by current production status; older deployments may omit it.","minimum":0},"execution_gas_limit_buffer_bps":{"type":"integer","description":"Gas-limit buffer multiplier in basis points. Returned by current production status; older deployments may omit it.","minimum":0}},"required":["router_address","execution_router_address","max_custom_fee_bps","max_protocol_cut_bps","protocol_cut_bps","chain_id","protocol_fee_receiver","positive_capture_bps","positive_volume_cap_bps"],"description":"Service configuration snapshot, not a fresh on-chain read. Owner-controlled parameters may change."},"Error":{"type":"object","properties":{"code":{"type":"integer","minimum":0,"maximum":65535,"not":{"enum":[200]},"description":"Application result code, distinct from HTTP status. See Error Codes."},"msg":{"type":"string","description":"Human-readable explanation."}},"required":["code","msg"],"description":"Application errors omit data. Business errors normally use HTTP 200; check code==200 before consuming data."}}}}
```

### Usage notes

Provider availability and configuration values can change. Response examples are historical snapshots; a configured provider is not a guarantee of executable liquidity.

Check both the HTTP status and JSON `code`. See [Error Codes](https://docs.peach.ag/api-reference/readme/error-codes) for recovery guidance. Invalid query or body extraction may return plain text instead of the JSON envelope.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.peach.ag/api-reference/readme/get-status.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
