> ## Documentation Index
> Fetch the complete documentation index at: https://docs.defindex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get factory contract address

> **System Function**: Retrieves the address of the factory contract for a specific Stellar network.

This endpoint provides the factory contract address that is used to create new vaults. It's essential for applications that need to interact with the factory contract to deploy new vault instances.



## OpenAPI

````yaml GET /factory/address
openapi: 3.0.0
info:
  title: DeFindex API
  description: API documentation for DeFindex endpoints
  version: 1.0.0
  contact: {}
  x-logo:
    url: https://links.paltalabs.io/defindex-full.svg
    backgroundColor: '#0e0e0e'
    altText: DeFindex Logo
    href: https://defindex.io
servers: []
security: []
tags: []
paths:
  /factory/address:
    get:
      tags:
        - Factory
      summary: Get factory contract address
      description: >-
        **System Function**: Retrieves the address of the factory contract for a
        specific Stellar network.


        This endpoint provides the factory contract address that is used to
        create new vaults. It's essential for applications that need to interact
        with the factory contract to deploy new vault instances.
      operationId: FactoryController_getDefindexFactoryAddress
      parameters:
        - name: network
          required: true
          in: query
          description: Stellar network to query (testnet or mainnet)
          schema:
            enum:
              - testnet
              - mainnet
            type: string
      responses:
        '200':
          description: Factory contract address retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  address:
                    type: string
                    description: Factory contract address on the specified network
                example:
                  address: CDKFHFJIET3A73A2YN4KV7NSV32S6YGQMUFH3DNJXLBWL4SKEGVRNFKI
        '400':
          description: Bad request - network parameter is required
        '404':
          description: Not found - no factory contract deployed for this network

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.