Skip to content

Add /stale-bridges, /bridge-search, and /netflows/compare endpoints#489

Merged
vrtnd merged 1 commit into
DefiLlama:masterfrom
adityamane765:feat/new-bridge-endpoints
Jun 3, 2026
Merged

Add /stale-bridges, /bridge-search, and /netflows/compare endpoints#489
vrtnd merged 1 commit into
DefiLlama:masterfrom
adityamane765:feat/new-bridge-endpoints

Conversation

@adityamane765
Copy link
Copy Markdown
Contributor

Three new read-only endpoints to improve observability and discoverability of bridge data.

GET /stale-bridges
Exposes the stale bridge detection logic (previously only sent to Discord) as an API response. Returns bridges and chains that have had no activity for 3 or more days, grouped by bridge name with the number of stale days per chain.

GET /bridge-search?q=&chain=
Search and filter bridges by name or chain. At least one of q (name substring) or chain is required. Eliminates the need for clients to fetch all bridges and filter client-side.

GET /netflows/compare?period=day|week|month&chains=ethereum,arbitrum
Compare netflows for specific chains side by side. Reuses the existing getNetflows query and filters to the requested chains, returning deposited, withdrawn, and net flow per chain. Supports up to 10 chains per request.

@vrtnd vrtnd merged commit 53a09e0 into DefiLlama:master Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants