View as Markdown
Parsera icon

Parsera ACTION

Extract

Extract data from a given URL. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Parsera account once, then configure and run Extract from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "parsera-extract",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    parsera: { authProvisionId: "apn_xxxxxxx" },
    url: "URL",
    attributes: ["Attributes"],
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Extract inputs
Property Type Description
url URL string
The URL to extract information from.
Required
attributes Attributes string[]
List of attributes to extract or parse from the content. Format each attribute as a JSON string. Eg. {"name": "Title","description": "News title"}.
Required
proxyCountry Proxy Country string
Set a specific proxy country for the request.
Optional Dynamic

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
parsera-extract
Version
0.0.2
App
Parsera
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes