Skip to main content

General

GlueX is an abstraction framework that provides developers and partners with secure access to an API suite that uniformly represents blockchains, intents, intent originators and liquidity providers. It enables the deployment of high performance, universal smart order routing algorithms and facilitates interaction with decentralized finance, allowing execution of complex transactions across multiple EVM networks
GlueX simplifies DeFi integration, offers optimal transaction execution through intelligent routing, supports a broad range of EVM chains and enables complex DeFi operations like swaps, bridges, lending, staking and zaps with a one click experience (in a single atomic transaction). It also provides economic benefits like zero routing fees and potential positive slippage rewards
GlueX differentiates itself through its intelligent multi chain routing for optimal execution, comprehensive support for various DeFi operations (including unique “swidge” functionality), MEV resistance to protect against sandwich attacks and a developer friendly API with beneficial fee models
GlueX is ideal for application (dapp) developers, crypto wallets aggregators, institutional clients and companies looking to seamlessly integrate advanced DeFi functionalities into their applications with minimal complexity
No, GlueX operates with zero routing fees for integrators. Our intelligent routing is designed to find the most cost-effective paths for transactions. You can learn more about fees here
You can stay updated by following our official announcements, joining our community channels (Telegram and Discord), and regularly checking our documentation and blog for updates

Core

Yes, your transactions are secure with GlueX. Our routing smart contracts and API infrastructure are built with advanced security features to safeguard against common DeFi risks such as front running and sandwich attacks. Additionally, we implement extra protections like Surge Protection to ensure reliable and safe onchain interactions for all users
GlueX supports a broad and growing range of EVM compatible chains. While the exact list is constantly updated, this typically includes major networks like Ethereum Mainnet, Polygon, Binance Smart Chain, Arbitrum, Optimism, Avalanche and many others. Refer to our supported networks for the most current list of supported chains
Through GlueX, you can execute a comprehensive range of DeFi transactions including: token swaps (DEX aggregation), cross chain asset bridging, lending, staking, yield farming, zaps(multi-step DeFi actions into one transaction) and our unique ‘swidge’ operations (swap + bridge)
GlueX stands out by offering not just DEX aggregation but a holistic DeFi API suite covering bridging, lending, staking and complex operations like ‘swidge’ across multiple chains. Our intelligent routing optimizes for the best price, slippage and gas fees, providing a more comprehensive solution than many single focus aggregators
GlueX uses advanced smart order routing algorithms that aggregate liquidity from numerous DEXs and AMMs across all supported EVM chains. It dynamically analyzes real time market data to find the most efficient and cost effective paths for your token swaps, minimizing slippage and maximizing output
Transaction limits can vary depending on the liquidity available for specific token pairs and chains, as well as any network specific constraints. While GlueX aims to facilitate transactions of all sizes, very large transactions might be split across multiple liquidity sources for optimal execution
GlueX continuously expands its integration with a wide array of major DeFi protocols for liquidity, lending, staking and more. Our goal is to provide comprehensive access to the DeFi ecosystem. For a list of specific integrated protocols, please check the liquidity modules section
MEV (Maximal Extractable Value) resistance in GlueX refers to features designed to protect your transactions from malicious MEV attacks like front running and sandwich attacks, where bots attempt to profit from your trades. Our routing mechanisms aim to minimize these risks to ensure fair execution
Yes, GlueX APIs are built with robustness and scalability that make them suitable for institutional clients seeking secure, efficient and programmatic access to DeFi markets and operations. We can provide tailored solutions and support for higher volume usage
GlueX optimizes for gas efficiency by finding the most gas efficient routes and packaging complex transactions into minimal onchain calls. While users still pay network gas fees, GlueX aims to reduce the overall cost by optimizing the transaction structure

Integration and API

Some GlueX API endpoints require an API key for access, while others may allow public usage or offer elevated rate limits with a key. API keys are typically passed in the request header as x-api-key. For details on authentication requirements and usage, see our API Reference
The /price endpoint typically provides a snapshot of the current market price for a given token pair, often without considering the impact of a specific trade size or routing. The /quote endpoint, on the other hand, provides a concrete proposal for a specific transaction (eg: for a certain amount of tokens), including the calculated output amount, estimated gas fees, and potential slippage by performing an actual route calculation
Surge Protection is a built in pre trade safety mechanism designed to safeguard users from significant value loss during periods of shallow liquidity, extreme market volatility or abrupt price movements
You can obtain your unique Integrator ID and API Key by registering on the GlueX Developer Portal. These credentials are required to authenticate your API requests and unlock access to GlueX services
Yes, GlueX provides flexible integration options. While we offer dedicated widget and ui components for popular frameworks, and you can also integrate the widget as an iframe into virtually any web application, regardless of the underlying frontend framework
GlueX currently operates exclusively on mainnet and does not provide a testnet environment. For development and integration testing, we recommend using small value transactions on supported L2s. Stay tuned for updates, as testnet support may be added in the future
GlueX API responses include standard HTTP status codes and detailed error messages in the response body. Your application should implement robust error handling logic to parse these responses, notify users and manage retries or alternative flows as necessary. Refer to our API Reference for a list of common error codes and their meanings
Common troubleshooting steps include verifying your keys, checking network connectivity, ensuring correct endpoints, validating request body parameters, inspecting response error messages and reviewing our documentation for the specific endpoint you are using. You can find a comprehensive list of common issues and troubleshooting steps here

Developer and Support

The comprehensive API documentation is available on our website under the API Reference section. It includes detailed information on endpoints, request/response schemas, authentication and examples
You can report bugs or issues by opening a discussion or creating an issue in our official github repository. Alternatively, you can reach out to our support team via our dedicated support channels
GlueX offers developer support through documentation, quickstart guides, community channels (Telegram) and direct technical support for partners and enterprise clients
GlueX has some open source components, and details on how to contribute will be available in the respective github repositories. We welcome community contributions that help improve our platform
To request a new feature or chain integration, submit a proposal or discussion via our official repository, community channels or contact our partnership team directly. For guidance on submitting feature requests, see our feature request guide
GlueX offers technical workshops, twitter spaces and more in depth tutorials periodically. Please check our blog or announcement channels for information on upcoming events
Response times for support inquiries vary based on the channel and the nature of the query. Critical issues typically receive faster responses. For general inquiries, community channels can often provide quick answers from peers or active team members
GlueX aims to continuously improve its APIs and may release updates periodically. We follow semantic versioning and any breaking changes are communicated well in advance, along with migration guides

Pricing and Plans

GlueX API operates on a transparent pricing model. While there are zero routing fees for transactions, specific plans might involve usage based fees, tier based access or custom agreements for high volume partners. For detailed pricing, please refer to our dedicated pricing page or contact our partnership team
Yes, we offer different tiers or plans tailored to various needs, from free developer access to enterprise grade solutions for high volume usage. Each tier might come with different rate limits, features and support levels
Yes, GlueX provides a free tier to allow developers and small application to test and build their integrations without incurring costs. This typically comes with certain rate limits and features
While GlueX itself charges zero routing fees, transactions on the blockchain incur network (gas) fees. Our API optimizes for these gas fees. Any integrator specific fees or revenue sharing models (eg: from positive slippage, surplus) are detailed in the partner agreement
The GlueX widget typically uses the same underlying API as direct API integrations, and its usage costs are generally covered by your API plan. There are no separate “widget fees” or hidden charges
Yes, for high volume usage, specialized features or unique business models, GlueX offers custom pricing plans. Please contact our partnership team to discuss your specific requirements
We offer a developer portal where you can monitor your API usage, view analytics and track any associated costs. This dashboard gives you insights into your consumption patterns
If you exceed your API rate limits, your requests may be temporarily throttled or rejected with a 429 Too Many Requests HTTP status code. You might need to upgrade your plan or implement rate limiting strategies on your end
GlueX is committed to transparent pricing. All fees, whether for API usage or network transactions, are clearly communicated. We aim for no hidden costs, but always recommend reviewing your specific plan details
TBD

Security and Audits

Yes, security is paramount for GlueX. Our smart contracts and core infrastructure undergo regular security audits by reputable third party security firms. Audit reports are published here for transparency
GlueX operates as a non custodial service for most operations, meaning user funds remain in their own wallets and are never held by GlueX. Transactions are executed directly from the user’s wallet via smart contracts, minimizing counterparty risk
GlueX employs a multi faceted approach to security, including rigorous smart contract auditing, continuous monitoring, bug bounty programs, adherence to best practices in secure coding and intelligent transaction routing to avoid vulnerable liquidity sources
Yes, GlueX’s smart contracts are open source and publicly verifiable on blockchain explorers. This transparency allows the community and security researchers to inspect the code
Smart contract audits are independent reviews conducted by security experts to identify and mitigate potential vulnerabilities, bugs and security risks in the smart contracts that power GlueX’s operations, ensuring their integrity and safety
Your API Key is a sensitive credential. It should be kept confidential and never hardcoded into clien -side code. We recommend using environment variables or a secure backend proxy to manage your API Key, and applying domain restrictions where possible
GlueX adheres to strict privacy policies. As a non custodial service, we primarily process onchain transaction data and do not store personal user data beyond what is necessary for service provision
GlueX’s Router API employs MEV resistant strategies and smart order routing that are designed to minimize the risk of front running and sandwich attacks by optimizing transaction paths and potentially utilizing transaction relays where available
Security patches are deployed as needed, with critical vulnerabilities addressed immediately. Regular maintenance updates also include security enhancements. Details on specific updates are communicated through official channels

Performance and Reliability

GlueX is committed to high availability. While specific uptime guarantees (SLA) may depend on your service plan, we strive for industry leading uptime, leveraging robust infrastructure and redundant systems to ensure continuous API access
GlueX APIs are optimized for low latency. Response times can vary based on network congestion, the complexity of the query (eg: quote vs price), and your geographical location, but we aim for near real time responses
Our Exchange Rate API and Router API use real time data feeds aggregated from numerous onchain and offchain sources, combined with sophisticated algorithms to ensure high accuracy and up to date information on prices and liquidity
API capacity and rate limits depend on your specific service plan. Higher tiers typically offer increased requests per second (RPS) to support larger scale applications. Details are available here or via direct inquiry
GlueX’s intelligent routing algorithms account for network congestion when calculating optimal paths. While high congestion can affect transaction confirmation times, we aim to provide the best possible execution under prevailing network conditions
TBD
GlueX is committed to rapidly integrating new EVM compatible chains and prominent DeFi protocols on demand. Integration timelines depend on the complexity of the network/protocol, but we strive to expand our coverage continuously
GlueX operates in the decentralized finance space. We prioritize compliance with applicable laws and regulations in the jurisdictions we operate. As the regulatory landscape for DeFi evolves, we continuously adapt our practices
As a non custodial API provider, GlueX typically does not perform direct KYC (Know Your Customer) or AML (Anti Money Laundering) checks on end users. Our partners are responsible for their own compliance obligations based on their service offerings
The full Terms of Service for using GlueX APIs and services are available here. It is important to review these terms to understand your rights and obligations as an integrator
GlueX adheres to relevant data privacy regulations like GDPR and CCPA where applicable. As a non custodial service, we minimize the collection of personal identifiable information. Our Privacy Policy provides full details
TBD
Our Terms of Service outline the intellectual property rights related to the APIs, SDKs and documentation, as well as how integrators can use our brand assets

Troubleshooting

Common troubleshooting steps include verifying your keys, checking network connectivity, ensuring correct endpoints, validating request body parameters, inspecting response error messages and reviewing our documentation for the specific endpoint you are using. You can find a comprehensive list of common issues and troubleshooting steps here
Detailed error codes, their meanings and potential solutions are documented in the respective sections of our API Reference. This is your primary resource for understanding specific API error responses
This error means you’ve exceeded your plan’s API rate limits. You can resolve it by implementing rate limiting, spacing out your requests, or upgrading your API plan to a higher tier with increased rate limits
First, ensure you’re using the correct API key from your GlueX developer portal. If the issue persists, regenerate your API key in the portal and if still unsuccessful, contact our support team

Still have questions? Feel free to reach out on Telegram or open a discussion in our Github repo - our team and community are here to help!