# The Wall Street Journal API

> The Wall Street Journal workflow and API: headlines and news. Returns stories, authors, section and summary as JSON.

The Wall Street Journal data from wsj.com: headlines and news.

- Page: https://fous.com/workflows/the-wall-street-journal
- Handle: `@the-wall-street-journal`
- Category: [News](https://fous.com/workflows/category/news)
- Source website: https://wsj.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with The Wall Street Journal.

## Methods

### List headlines

Operation `list_headlines`, version 1. 1 credit per call.

List the headlines displayed in a Wall Street Journal news section, with available summaries, bylines, dates, images, and story links. Excludes ads, promotions, video-only items, and related or trending modules; some stories have no displayed date or summary.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `section` | string | no | `"top stories"` | News section to list, for example business. |
| `max_results` | integer | no | `20` | Maximum number of stories to return, for example 20. |

**Input schema**

```json
{
  "type": "object",
  "properties": {
    "section": {
      "enum": [
        "top stories",
        "business",
        "markets",
        "tech",
        "economy",
        "world",
        "politics",
        "personal finance"
      ],
      "type": "string",
      "default": "top stories",
      "description": "News section to list, for example business.",
      "examples": [
        "top stories",
        "business",
        "markets"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum number of stories to return, for example 20.",
      "x-fous-developer": true,
      "examples": [
        20,
        8
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "section": "top stories",
      "max_results": 20
    },
    {
      "section": "business",
      "max_results": 20
    },
    {
      "section": "markets",
      "max_results": 8
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `stories` | array |  |  |
| `stories[].authors` | array |  |  |
| `stories[].section` | string | `"Business"` |  |
| `stories[].summary` | string or null | `"Cracked trays, high costs and a dice dilemma bogged down a quest to produce a version of the classic game in the U.S."` |  |
| `stories[].headline` | string | `"The ‘Colossal Headache’ of Building a Made-in-America Monopoly Game"` |  |
| `stories[].image_link` | string or null | `"https://images.wsj.net/im-79577646?size=1.5"` |  |
| `stories[].article_link` | string | `"https://www.wsj.com/business/american-made-monopoly-game-tariffs-china-e9a06e68"` |  |
| `stories[].published_at` | string or null | `"2026-09-29T01:00:00+00:00"` | Published date and time with time zone, when available. |

**Example input**

```json
{
  "section": "business",
  "max_results": 20
}
```

**Example output**

```json
{
  "stories": [
    {
      "authors": [
        "Ruth Simon",
        "Elizabeth Arvelos Coetzee"
      ],
      "section": "Business",
      "summary": "Cracked trays, high costs and a dice dilemma bogged down a quest to produce a version of the classic game in the U.S.",
      "headline": "The ‘Colossal Headache’ of Building a Made-in-America Monopoly Game",
      "image_link": "https://images.wsj.net/im-79577646?size=1.5",
      "article_link": "https://www.wsj.com/business/american-made-monopoly-game-tariffs-china-e9a06e68",
      "published_at": "2026-09-29T01:00:00+00:00"
    },
    {
      "authors": [
        "Liz Essley Whyte",
        "Jesse Newman",
        "Josh Dawsey"
      ],
      "section": "Business",
      "summary": "Concerns about whether Kennedy’s ideas on food are even feasible have prompted clashes within the administration, casting uncertainty over a once potent political agenda.",
      "headline": "RFK Jr.’s Push to Revamp American Food Runs Into White House Resistance",
      "image_link": "https://images.wsj.net/im-28047091?size=1.08",
      "article_link": "https://www.wsj.com/politics/policy/rfk-jr-s-push-to-revamp-american-food-runs-into-white-house-resistance-d26fe9f6",
      "published_at": "2026-09-29T01:00:00+00:00"
    },
    {
      "authors": [
        "Bob Tita",
        "Alex Leary"
      ],
      "section": "Business",
      "summary": "President is looking for wins ahead of a tough midterm election for Republicans.",
      "headline": "Trump Unveils $15 Billion Iowa Steel Project",
      "image_link": "https://images.wsj.net/im-04319911?size=1.49",
      "article_link": "https://www.wsj.com/politics/trump-to-unveil-planned-15-billion-iowa-steel-project-051bc7d8",
      "published_at": "2026-09-28T22:46:00+00:00"
    }
  ]
}
```

### Search news

Operation `search_news`, version 1. 1 credit per call.

Search public Wall Street Journal article headlines and summaries by keyword. Includes publication time, authors, section, and link; excludes podcasts and live-coverage posts. Date filtering applies to publication dates.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `page` | integer | no | `2` | Page of results, for example 1. |
| `sort` | string | no | `"newest"` | Sort results by newest or most relevant, for example newest. |
| `query` | string | yes | `"Tesla"` | Search words, for example Tesla. |
| `to_date` | string | no | `"2026-09-29"` | Latest publication date, for example 2026-09-29. |
| `from_date` | string | no | `"2026-09-01"` | Earliest publication date, for example 2026-09-01. |
| `max_results` | integer | no | `5` | Articles per page, for example 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "default": 1,
      "minimum": 1,
      "description": "Page of results, for example 1.",
      "x-fous-developer": true,
      "examples": [
        2
      ]
    },
    "sort": {
      "enum": [
        "newest",
        "most_relevant"
      ],
      "type": "string",
      "default": "newest",
      "description": "Sort results by newest or most relevant, for example newest.",
      "examples": [
        "newest",
        "most_relevant"
      ]
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Search words, for example Tesla.",
      "examples": [
        "Tesla",
        "Apple",
        "unlikelynonwordxyzzy2593847"
      ]
    },
    "to_date": {
      "type": "string",
      "format": "date",
      "description": "Latest publication date, for example 2026-09-29.",
      "examples": [
        "2026-09-29"
      ]
    },
    "from_date": {
      "type": "string",
      "format": "date",
      "description": "Earliest publication date, for example 2026-09-01.",
      "examples": [
        "2026-09-01"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "description": "Articles per page, for example 20.",
      "x-fous-developer": true,
      "examples": [
        5
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "query": "Tesla"
    },
    {
      "page": 2,
      "sort": "newest",
      "query": "Tesla",
      "to_date": "2026-09-29",
      "from_date": "2026-09-01",
      "max_results": 5
    },
    {
      "sort": "most_relevant",
      "query": "Apple",
      "max_results": 5
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `articles` | array |  |  |
| `articles[].authors` | array |  |  |
| `articles[].section` | string or null | `"Real Estate"` |  |
| `articles[].summary` | string or null | `"The Oracle billionaire spent almost $10 million on houses for his children’s tutors and others about 30 minutes from hi` |  |
| `articles[].headline` | string | `"The Gated Community Where Larry Ellison Bought Eight Homes for His Staff"` |  |
| `articles[].article_link` | string | `"https://www.wsj.com/real-estate/luxury-homes/larry-ellison-oracle-gated-community-1831d914"` |  |
| `articles[].published_at` | string | `"2026-09-28T23:00:00+00:00"` |  |

**Example input**

```json
{
  "query": "Tesla"
}
```

**Example output**

```json
{
  "articles": [
    {
      "authors": [
        "Katherine Clarke",
        "Emily Glazer"
      ],
      "section": "Real Estate",
      "summary": "The Oracle billionaire spent almost $10 million on houses for his children’s tutors and others about 30 minutes from his Florida compound.",
      "headline": "The Gated Community Where Larry Ellison Bought Eight Homes for His Staff",
      "article_link": "https://www.wsj.com/real-estate/luxury-homes/larry-ellison-oracle-gated-community-1831d914",
      "published_at": "2026-09-28T23:00:00+00:00"
    },
    {
      "authors": [
        "Sharon Terlep"
      ],
      "section": "Autos Industry",
      "summary": "The new mandate will require an average of 34.5 miles a gallon by model year 2031, down from the 50.4 miles a gallon standard.",
      "headline": "Trump Administration Ends Tougher Fuel-Economy Rules",
      "article_link": "https://www.wsj.com/business/autos/trump-administration-ends-tougher-fuel-economy-rules-013c4633",
      "published_at": "2026-09-28T16:18:00+00:00"
    },
    {
      "authors": [
        "Andy Kessler"
      ],
      "section": "Opinion",
      "summary": "Liability is much more effective than regulation at pushing companies to be safe.",
      "headline": "The Real AI Fear: Lawyers",
      "article_link": "https://www.wsj.com/opinion/the-real-ai-fear-lawyers-69280f52",
      "published_at": "2026-09-27T15:15:00+00:00"
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@the-wall-street-journal",
  "visibility": "public",
  "operation": "list_headlines",
  "version": 1,
  "input": {
    "section": "top stories",
    "max_results": 20
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@the-wall-street-journal\",\n  \"visibility\": \"public\",\n  \"operation\": \"list_headlines\",\n  \"version\": 1,\n  \"input\": {\n    \"section\": \"top stories\",\n    \"max_results\": 20\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@the-wall-street-journal",
  "visibility": "public",
  "operation": "list_headlines",
  "version": 1,
  "input": {
    "section": "top stories",
    "max_results": 20
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@the-wall-street-journal","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## FAQ

### Is Fous affiliated with The Wall Street Journal?

No. Fous is not affiliated with The Wall Street Journal. This workflow reads the public wsj.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a The Wall Street Journal account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from wsj.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

## Related

- [The New York Times API](https://fous.com/workflows/the-new-york-times.md): The New York Times provides current section headlines and summaries, keyword-matched public listings with dates, authors, sections and links, and Best Sellers lists for the latest issue or dates within a week.
- [CNBC API](https://fous.com/workflows/cnbc.md): CNBC provides business news, page-view headlines, searchable CNBC articles excluding videos, wire stories and press releases, and potentially delayed major index and U.S. futures quotes.
- [Fox News API](https://fous.com/workflows/fox-news.md): Fox News returns section-page headlines, keyword-matched articles among up to 100 available results, and readable article text, including the latest live-blog updates.
- [CNN API](https://fous.com/workflows/cnn.md): CNN provides section-page headlines and searchable public articles, plus article text; subscriber stories show only a brief public preview, and live blogs include entries.
- [The Verge API](https://fous.com/workflows/the-verge.md): The Verge provides technology, science, entertainment, and policy headlines and searchable articles, including public stories and older archives, with search limited to the first 100 matches.
- [AP News API](https://fous.com/workflows/ap-news.md): AP News provides reporting, up to 50 public-page headlines, searchable articles visible in its search, and full text when accessible.
- [Al Jazeera API](https://fous.com/workflows/al-jazeera.md): Al Jazeera provides news and analysis, current section headlines and article details, plus keyword-searchable articles; searches and live blogs may show only leading matches or latest updates.
- [NPR API](https://fous.com/workflows/npr.md): NPR returns displayed section headlines, searchable articles with summaries and publication details, and available article text; date-filtered searches may miss older stories edited much later.
- [All News workflows](https://fous.com/workflows/category/news)
