# API Reddit Community post per italy

**Use case:** 

Un esempio pronto all'uso che estrae post da Reddit Community per italy e restituisce campi normalizzati per ogni riga.

## Input

```json
{
  "community": "italy",
  "sort_by": "top",
  "max_posts": 50,
  "max_comments": 0
}
```

## Output

```json
{
  "subreddit": {
    "label": "Subreddit",
    "format": "string"
  },
  "subreddit_id": {
    "label": "Subreddit ID",
    "format": "string"
  },
  "subreddit_type": {
    "label": "Subreddit Type",
    "format": "string"
  },
  "subreddit_subscribers": {
    "label": "Subscribers",
    "format": "integer"
  },
  "id": {
    "label": "Post ID",
    "format": "string"
  },
  "author": {
    "label": "Author",
    "format": "string"
  },
  "author_id": {
    "label": "Author ID",
    "format": "string"
  },
  "author_flair": {
    "label": "Author Flair",
    "format": "string"
  },
  "created": {
    "label": "Created",
    "format": "string"
  },
  "edited": {
    "label": "Edited",
    "format": "string"
  },
  "url": {
    "label": "Link",
    "format": "string"
  },
  "flair_text": {
    "label": "Flair",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "body": {
    "label": "Body",
    "format": "string"
  },
  "score": {
    "label": "Score",
    "format": "integer"
  },
  "score_hidden": {
    "label": "Score Hidden",
    "format": "boolean"
  },
  "upvote_ratio": {
    "label": "Upvote Ratio",
    "format": "number"
  },
  "comment_count": {
    "label": "Comment Count",
    "format": "integer"
  },
  "crossposts": {
    "label": "Crossposts",
    "format": "integer"
  },
  "crosspost_id": {
    "label": "Crosspost Source ID",
    "format": "string"
  },
  "crosspost_url": {
    "label": "Crosspost Source URL",
    "format": "string"
  },
  "archived": {
    "label": "Archived",
    "format": "boolean"
  },
  "locked": {
    "label": "Locked",
    "format": "boolean"
  },
  "stickied": {
    "label": "Stickied",
    "format": "boolean"
  },
  "pinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "over_18": {
    "label": "NSFW",
    "format": "boolean"
  },
  "spoiler": {
    "label": "Spoiler",
    "format": "boolean"
  },
  "original": {
    "label": "Original Content",
    "format": "boolean"
  },
  "advertising": {
    "label": "Advertising",
    "format": "boolean"
  },
  "indexable": {
    "label": "Indexable",
    "format": "boolean"
  },
  "crosspostable": {
    "label": "Crosspostable",
    "format": "boolean"
  },
  "removed_by": {
    "label": "Removed By",
    "format": "string"
  },
  "gilded": {
    "label": "Gilded",
    "format": "integer"
  },
  "categories": {
    "label": "Content Categories",
    "format": "array"
  },
  "media_type": {
    "label": "Media Type",
    "format": "string"
  },
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "thumbnail": {
    "label": "Thumbnail",
    "format": "string"
  },
  "images": {
    "label": "Images",
    "format": "array"
  },
  "gallery": {
    "label": "Gallery",
    "format": "array"
  },
  "media_url": {
    "label": "Linked Content URL",
    "format": "string"
  },
  "video_url": {
    "label": "Video URL",
    "format": "string"
  },
  "video_duration": {
    "label": "Video Duration",
    "format": "integer"
  },
  "poll": {
    "label": "Poll",
    "format": "object"
  },
  "is_self": {
    "label": "Is Self",
    "format": "boolean"
  },
  "is_video": {
    "label": "Is Video",
    "format": "boolean"
  },
  "is_gallery": {
    "label": "Is Gallery",
    "format": "boolean"
  },
  "distinguished": {
    "label": "Distinguished",
    "format": "string"
  },
  "no_follow": {
    "label": "No Follow",
    "format": "boolean"
  },
  "ad_whitelist": {
    "label": "Ad Whitelist",
    "format": "integer"
  },
  "duplicates": {
    "label": "Duplicates",
    "format": "array"
  },
  "comments": {
    "label": "Comments",
    "format": "array"
  },
  "processor": {
    "label": "Processor",
    "format": "string"
  },
  "processed_at": {
    "label": "Processed At",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Reddit Community Post Actor is ready to run with the inputs already set for "API Reddit Community post per italy". [Sign up or log in](https://console.apify.com/create-task-from-example/XLOodlf4IwfgNkUes) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "API Reddit Community post per italy" task

The Reddit Community Post Actor will start running based on the input automatically. You can also change all the input fields, like community, sort by, and more, to match your specific use case.

### 3. Receive the "API Reddit Community post per italy" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as subreddit, subreddit id, subreddit type, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "API Reddit Community post per italy" task via API](https://apify.com/truefetch/reddit-community-post.md).

## About this Actor

This example demonstrates how to use [Reddit Community Post](https://apify.com/truefetch/reddit-community-post.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/truefetch/reddit-community-post.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/truefetch/reddit-community-post.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
