Steel.dev

App · 13 actions

Create and manage cloud browser sessions and capture pages with Steel.dev.

Actions

ActionWhat it does
Capture a webpage screenshotCapture a screenshot of a public webpage and return its hosted image URL.
Create a browser sessionCreate a browser session.
Extract content from a webpageExtract content from a webpage.
Get a browser profileGet a browser profile.
Get a browser sessionGet a browser session.
Get live session detailsGet live session details.
List browser profilesList browser profiles.
List browser session eventsList browser session events.
List browser sessionsList browser sessions.
List files in a sessionList files in a session.
List stored filesList stored files.
Release a browser sessionRelease a browser session.
Save a webpage as a PDFRender a public webpage to a PDF and return its hosted file URL.

Capture a webpage screenshot

Capture a screenshot of a public webpage and return its hosted image URL.

Inputs

URLurltextRequired
Public webpage to capture.
Full pagefull_pagetrue/false
Include the whole page.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "url": "example"
  }
}

Create a browser session

Create a browser session.

Inputs

Timeout mstimeout_msnumber
Timeout ms.At least 1000.
Profileprofile_idtext
Profile ID.
Namespacenamespacetext
Namespace.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "sessionViewerUrl": "example",
    "status": "example",
    "timeout": 1,
    "websocketUrl": "example"
  }
}

Extract content from a webpage

Extract content from a webpage.

Inputs

URLurltextRequired
Url.
Formatformatlist
Format.One or more of: html, readability, cleaned_html (Cleaned html), markdown.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "content": {}
  }
}

Get a browser profile

Get a browser profile.

Inputs

Profileprofile_idtextRequired
Profile ID.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "id": "example",
    "status": "example"
  }
}

Get a browser session

Get a browser session.

Inputs

Sessionsession_idtextRequired
Session ID.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "sessionViewerUrl": "example",
    "status": "example",
    "timeout": 1,
    "websocketUrl": "example"
  }
}

Get live session details

Get live session details.

Inputs

Sessionsession_idtextRequired
Session ID.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {}
}

List browser profiles

List browser profiles.

Inputs

None.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "profiles": [
      {
        "id": "example",
        "status": "example"
      }
    ]
  }
}

List browser session events

List browser session events.

Inputs

Sessionsession_idtextRequired
Session ID.

Outputs

datalist
The response from Steel.dev.
Example output
{
  "data": [
    {}
  ]
}

List browser sessions

List browser sessions.

Inputs

Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
Cursor.
Statusstatustext
Status.One of: live, released, failed.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "sessions": [
      {
        "createdAt": "example",
        "id": "example",
        "sessionViewerUrl": "example",
        "status": "example",
        "timeout": 1,
        "websocketUrl": "example"
      }
    ]
  }
}

List files in a session

List files in a session.

Inputs

Sessionsession_idtextRequired
Session ID.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "data": [
      {
        "lastModified": "example",
        "path": "example",
        "size": 1
      }
    ]
  }
}

List stored files

List stored files.

Inputs

None.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "data": [
      {
        "lastModified": "example",
        "path": "example",
        "size": 1
      }
    ]
  }
}

Release a browser session

Release a browser session.

Inputs

Sessionsession_idtextRequired
Session ID.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "message": "example"
  }
}

Save a webpage as a PDF

Render a public webpage to a PDF and return its hosted file URL.

Inputs

URLurltextRequired
Public webpage to render.

Outputs

dataobject
The response from Steel.dev.
Example output
{
  "data": {
    "url": "example"
  }
}

On this page