# USDA Market News

> Find USDA agricultural market reports and read published market data for a date or report section.

App · 4 actions. Web page: https://docs.lodol.com/docs/integrations/usda-market-news

## Actions

### Get a USDA market report section

Read the records in a named section for a report begin date. Available section names vary by report.

**Inputs**

- Report ID (`report_id`, text, required): Report slug ID or name from the catalogue, such as 1095.
- Section (`section`, text, required): Section name shown in My Market News, such as Volumes or Details.
- Report date (`report_date`, date, required): Report begin date, in YYYY-MM-DD format.

**Outputs**

- `data` (object): The response from USDA Market News.

**Example output**

```json
{
  "data": {
    "results": [
      {}
    ]
  }
}
```

### Get USDA market report records

Read the report's market data for a single report begin date.

**Inputs**

- Report ID (`report_id`, text, required): Report slug ID or name from the catalogue, such as 1095.
- Report date (`report_date`, date, required): Report begin date, in YYYY-MM-DD format.

**Outputs**

- `data` (object): The response from USDA Market News.

**Example output**

```json
{
  "data": {
    "results": [
      {}
    ]
  }
}
```

### List recent USDA market report publications

Read the USDA publication feed for the last day, including correction markers and report dates.

**Inputs**

- Report ID (`report_id`, text): Numeric USDA report slug ID, such as 1095.

**Outputs**

- `data` (object): The response from USDA Market News.

**Example output**

```json
{
  "data": {
    "count": 1,
    "publications": [
      {
        "file_name": "example",
        "file_type": "example",
        "is_correction": true,
        "publication_id": "example",
        "published_at": "example",
        "report_begin_date": "example",
        "report_end_date": "example",
        "report_id": "example",
        "title": "example"
      }
    ]
  }
}
```

### List USDA market reports

Browse available reports and find their slug IDs and names.

**Inputs**: None.

**Outputs**

- `data` (object): The response from USDA Market News.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "report_date": "example",
        "report_title": "example",
        "slug_id": "example",
        "slug_name": "example"
      }
    ]
  }
}
```
