Resend

Connect AI Agents to
Resend

Automate workflows and connect AI agents to Resend. Metorial is built for developers. Handling OAuth, compliance, observability, and more.

Back to Resend overview

Understanding Story Data Structure and Fields

What is Story Data?

When you retrieve stories from Hacker News through this MCP server, each story comes with a standardized set of fields that provide comprehensive information about the submission. Understanding these fields helps you effectively work with and analyze Hacker News content.

Core Story Fields

Every story object contains several essential pieces of information:

ID: A unique numeric identifier for the story. This ID is permanent and can be used to retrieve the specific story or its comments at any time. You'll need this ID when you want to access a story's comment thread.

Title: The headline or title of the submission as written by the person who posted it. This is what appears in story listings and feeds.

URL: The link to the external content being shared. This field may be empty for "Ask HN" or "Show HN" posts that are text-only discussions without external links.

Score: The number of upvotes the story has received from the community. Higher scores generally indicate greater community interest or approval. Scores change over time as more users vote.

Author (by): The username of the person who submitted the story. You can use this to look up the submitter's profile or track submissions from specific users.

Time: A Unix timestamp indicating when the story was submitted. This helps you understand the recency of content and track when discussions began.

Descendants: The total number of comments in the story's discussion thread, including all replies and nested comments. This gives you a quick sense of how much conversation the story has generated.

Special Story Types

Some stories have unique characteristics:

Text Posts: Stories without URLs are self-contained discussions. These include "Ask HN" questions, "Show HN" project announcements, and community polls. For these submissions, the main content is in the story's text field rather than an external link.

Deleted or Dead Stories: Stories may be flagged as deleted or dead if they've been removed by moderators or killed by community flags. These fields help you filter out content that's no longer active.

Working With Story Data

When you request stories through the server, you might retrieve them as lists (like top stories or new stories) or as individual items. List endpoints typically return arrays of story IDs, which you can then query individually for complete details. This two-step approach is how Hacker News structures its API, allowing efficient retrieval of story feeds without overwhelming data transfer.

Understanding these fields enables you to filter, sort, and analyze Hacker News content effectively, whether you're tracking trending topics, researching discussions, or monitoring community engagement.

Resend on Metorial

The Resend integration lets you send transactional emails, manage email templates, and handle email API operations directly from your workflow, enabling automated email communications without leaving your development environment.

Connect anything. Anywhere.

Ready to build with Metorial?

Let's take your AI-powered applications to the next level, together.

About Metorial

Metorial provides developers with instant access to 600+ MCP servers for building AI agents that can interact with real-world tools and services. Built on MCP, Metorial simplifies agent tool integration by offering pre-configured connections to popular platforms like Google Drive, Slack, GitHub, Notion, and hundreds of other APIs. Our platform supports all major AI agent frameworks—including LangChain, AutoGen, CrewAI, and LangGraph—enabling developers to add tool calling capabilities to their agents in just a few lines of code. By eliminating the need for custom integration code, Metorial helps AI developers move from prototype to production faster while maintaining security and reliability. Whether you're building autonomous research agents, customer service bots, or workflow automation tools, Metorial's MCP server library provides the integrations you need to connect your agents to the real world.

Star us on GitHub