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

# Podscan Podcasts Search: Inputs, Cost & CLI Example

> Discovering podcasts in a topic area by searching show titles and descriptions. Includes inputs, outputs, costs, and Deepline CLI examples for GTM automation.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=podscan_podcasts_search:{"query":"{{query}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name               | Type      | Required | Default | Description                                              |
| ------------------ | --------- | -------- | ------- | -------------------------------------------------------- |
| `payload.query`    | `string`  | Yes      |         | Search query run across podcast titles and descriptions. |
| `payload.per_page` | `integer` | No       | `10`    | Results per page (1-50). Defaults to 10.                 |
| `payload.page`     | `integer` | No       |         | 1-indexed results page (1-1000).                         |
| `payload.language` | `string`  | No       |         | ISO 639-1 language code filter, e.g. `en`.               |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Search the Podscan podcast catalog by title/description to discover shows in a topic area.",
    "properties": {
      "query": {
        "type": "string",
        "description": "Search query run across podcast titles and descriptions.",
        "minLength": 1
      },
      "per_page": {
        "type": "integer",
        "description": "Results per page (1-50). Defaults to 10.",
        "default": 10,
        "minimum": 1,
        "maximum": 50
      },
      "page": {
        "type": "integer",
        "description": "1-indexed results page (1-1000).",
        "minimum": 1,
        "maximum": 1000
      },
      "language": {
        "type": "string",
        "description": "ISO 639-1 language code filter, e.g. `en`.",
        "minLength": 2,
        "maxLength": 2
      }
    },
    "required": [
      "query"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `record` | No       |         | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "podcasts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "podcast_id": {
                  "type": "string"
                },
                "podcast_name": {
                  "type": "string"
                },
                "podcast_url": {
                  "type": "string"
                },
                "podcast_reach_score": {
                  "type": "number"
                }
              },
              "additionalProperties": false
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "total": {
                "type": "number"
              },
              "per_page": {
                "type": "number"
              },
              "current_page": {
                "type": "number"
              },
              "last_page": {
                "type": "number"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute podscan_podcasts_search --payload '{
  "query": "string"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.14` per pricing unit.
* Billing mode: `post_deduct`.
