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

# Get a list of sources

Returns a list of all possible sources for leads in your Nutshell instance.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Nutshell API",
    "description": "The most powerful API in the world",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "app.nutshell.com/rest"
    }
  ],
  "paths": {
    "/sources": {
      "get": {
        "tags": [
          "Sources"
        ],
        "summary": "Get a list of sources",
        "description": "Returns a list of all possible sources for leads in your Nutshell instance.",
        "operationId": "2d07cb07b45de2ae13701b873b26cf9e",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Query for sources that match a specific string",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "sources": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Source"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Source": {
        "properties": {
          "id": {
            "description": "The API ID of this entity, formatted {integer}-{entityType}",
            "type": "string",
            "example": "3-contacts"
          },
          "name": {
            "example": "Google"
          },
          "href": {
            "type": "string"
          },
          "modifiedTime": {
            "description": "Unix Timestamp",
            "type": "integer",
            "format": "int64",
            "example": 1704774720
          },
          "channel": {
            "description": "Channels group sources into broader groups.",
            "properties": {
              "value": {
                "type": "integer",
                "example": 1
              },
              "display": {
                "type": "string",
                "example": "Organic search"
              }
            },
            "type": "object"
          },
          "deletedTime": {
            "description": "Unix Timestamp",
            "type": "integer",
            "format": "int64",
            "example": 1704774720
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "tags": [
    {
      "name": "Sources",
      "description": "Sources"
    }
  ]
}
```