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

# Service Index

> Returns the service name and available API routes.

Returns service metadata and available route paths.

```bash theme={null}
curl -sS "$MONETARY_API_BASE_URL/"
```

The response includes the current HTTP routes exposed by the public API service. For push updates, see [Realtime Stream](/docs/api-reference/endpoint/realtime-stream).


## OpenAPI

````yaml GET /
openapi: 3.1.0
info:
  title: Monetary Public API
  description: Read-only market intelligence API for companies and prediction market data.
  version: 1.0.0
servers:
  - url: http://127.0.0.1:3003
    description: Local development
  - url: https://api.monetary.dev
    description: Production
security: []
tags:
  - name: System
    description: Service and health endpoints
  - name: Companies
    description: Company directory search and filtering
  - name: Prediction Markets
    description: Prediction market events, markets, and similarity grouping
paths:
  /:
    get:
      tags:
        - System
      summary: Service index
      description: Returns the service name and available API routes.
      operationId: getServiceIndex
      responses:
        '200':
          description: Service metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceIndexResponse'
              examples:
                default:
                  value:
                    routes:
                      - /health
                      - /v1/prediction_markets/probability_snapshots
                      - /openai.json
                      - /.well-known/openapi.json
                      - /openapi.json
                      - /v1/companies
                      - /v1/prediction_markets/events
                      - /v1/prediction_markets/events/{id}
                      - /v1/prediction_markets/markets
                      - /v1/prediction_markets/markets/{id}
                      - /v1/prediction_markets/similar_events
                      - /v1/prediction_markets/trade_feed
                    service: public-api
        '500':
          $ref: '#/components/responses/InternalServerError'
      security: []
components:
  schemas:
    ServiceIndexResponse:
      type: object
      required:
        - routes
        - service
      properties:
        routes:
          type: array
          items:
            type: string
        service:
          type: string
          example: public-api
    ErrorResponse:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          examples:
            - BadRequest
            - Unauthorized
            - InternalServerError
        message:
          type: string
  responses:
    InternalServerError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            default:
              value:
                error: InternalServerError
                message: Unexpected error

````