# 31Third > The execution layer for on-chain portfolios 31Third is a decentralized trading execution protocol for on-chain portfolios. It helps funds, DAOs, asset managers, and AI agents automate trading, rebalancing, and risk management from self-custodied wallets. 31Third is a non-custodial execution protocol for on-chain portfolios, built for funds, DAOs, asset managers, and AI agents. It enables multi-asset batch trading and portfolio rebalancing in a single transaction, along with automated index rebalancing and programmatic execution through an API. Settlement occurs directly from a user's Safe wallet, so assets remain in self-custody throughout. Every trade is routed through an on-chain policy engine that enforces mandate, risk, and compliance rules before execution, addressing the need for automated yet controlled trading in institutional contexts. Liquidity is aggregated from a curated set of institutional venues rather than retail automated market makers, and a smart order router seeks optimal pricing across supported assets. The company is a participant in a regional regulatory sandbox for blockchain financial infrastructure. Core offerings include Basket Trading for one-transaction rebalancing, Index Automation for benchmark-based rebalancing of onchain vaults, and a Swap API for programmatic integration, alongside a white-label platform that lets asset managers offer the infrastructure under their own brand. It supports a range of tokens, including stablecoins and tokenized real-world assets, across multiple blockchain networks. The protocol is used by treasury teams, vault managers, developers, and autonomous trading agents operating on-chain. - Type: Protocol - Sector: Finance - Status: Active - Founded: 2022-01-01 - Profile: https://thegrid.id/profiles/31third ## Products - [31Third](https://thegrid.id/profiles/31third): 31Third is a non-custodial execution platform for on-chain portfolios, letting funds, DAOs, asset managers, and AI agents automate trading and rebalancing directly from a Gnosis Safe. Trades route through an on-chain Policy Engine that enforces mandate, risk, and compliance rules before execution, sourcing liquidity from a curated set of institutional venues aggregated into a compliant liquidity layer. The platform supports basket trading for one-transaction rebalancing into target allocations, index automation for vault strategies benchmarked against rules-based indices, and white-label deployment for asset managers operating under their own brand. Settlement happens atomically from the client's own multi-signature wallet across multiple EVM networks, so assets never leave self-custody. (Trading Terminal, Live, Main Product) - [31Third Swap API](https://thegrid.id/profiles/31third): 31Third Swap API is a developer-facing API for programmatic execution of token swaps and batch trades across supported blockchains. It provides endpoints for asset data, swap quotes, basket trades covering multiple assets in a single call, and quote refreshes, letting developers integrate execution directly into their own applications. Builders use it to embed the protocol's liquidity aggregation and batch trading logic into custom trading, treasury, or automation tools without building an execution interface themselves. (Developer Tooling, Live) ## Links - [Main](https://31third.com) - [Blog](https://31third.com/blog) - [Documentation](https://docs.31third.com) - [Terms of Service](https://31third.com/terms) - [Privacy policy](https://31third.com/privacy) - [LinkedIn](https://www.linkedin.com/company/31third) - [Twitter / X](https://x.com/31ThirdProtocol) - [Discord](https://discord.com/invite/TZ3GBBgnf9) - [Discord](https://discord.gg/31third) ## Legal This data is provided under two licensing models. Model 1 - open data. The open data core is licensed under the Open Database License (ODbL) — a copyleft/share-alike license allowing free use, modification, and sharing for any purpose. Attribution is required: include "Powered by The Grid" linking to https://thegrid.id wherever the data is used. Derivative databases must be shared under ODbL terms. Trademarks, logos, and brand names (marked "Special TPIP") are not covered by the ODbL. For ML/AI use: training datasets that substantially extract ODbL data are Derivative Databases and must be shared under ODbL if publicly used; models must be attributed in documentation. Model 2 - commercial licenses. The Grid Data Service (TGDS) is also available as a commercial license. See [Web Services Terms](https://about.thegrid.id/legal/web-services-terms) for commercial use that is not covered by the open data service. The following applies to both licensing models. - All data is provided AS IS with no guarantees of accuracy. - The Grid does not provide investment, legal, or tax advice, and - a project's presence in The Grid's data does not imply endorsement. - [Data Licensing & Disclaimers](https://about.thegrid.id/legal/data-licensing-and-disclaimers): Licensing models and disclaimers - [Open Data (ODbL)](https://about.thegrid.id/legal/open-data): Open Database License terms and scope for The Grid's open data service. - [Attribution Guidelines](https://about.thegrid.id/legal/open-data-attribution-guidelines): How to attribute The Grid's data when using the open data service. - [Web Services Terms](https://about.thegrid.id/legal/web-services-terms): commercial Terms for using data services. - [All Legal Documents](https://about.thegrid.id/legal): Full index of terms, policies, and disclosures ## Optional - [TGS Field Descriptions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-field-descriptions.md): Schema field definitions for The Grid's data model - [TGS JSON Structure](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-json-structure.md): Data model structure and relationships - [Product Type Definitions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-definitions.md): Definitions for each product type - [Product Type Classification](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-classification.md): Guide for classifying products into types - [Grid MCP Guide](https://github.com/The-Grid-Data/workspace-public/blob/main/grid-search/skills/grid-query/references/grid-mcp-guide.md): How to query The Grid programmatically via MCP