Interfaze

logo

Beta

pricing

docs

blog

sign in

Get Started

Introduction

Examples

Vision

Concepts

Resources

Projects

Integrations

Web Scraping

copy markdown

AI web scraping that self-heals with built in residential proxies and browser infrastructure to scrape any site at scale.

  • Built in residential proxies that automatically rotates when needed and handle bot blocks
  • AI human behavior simulation and interactions with the site
  • Automatically scale up or down browser infrastructure based on usage with no concurrency limits

Scrape social media sites

OpenAI SDK

Vercel AI SDK

LangChain SDK

import { z } from "zod";
import { zodResponseFormat } from "openai/helpers/zod";

const LinkedInProfileSchema = z.object({
	first_name: z.string(),
	last_name: z.string(),
	location: z.string(),
	latest_education: z.string(),
	current_job: z.string(),
	followers: z.number(),
});

const response = await interfaze.chat.completions.create({
	model: "interfaze-beta",
	messages: [
		{
			role: "user",
			content: "Extract information from https://www.linkedin.com/in/yoeven/",
		},
	],
	response_format: zodResponseFormat(LinkedInProfileSchema, "linkedin_profile_schema"),
});

console.log(response.choices[0].message.content);

//@ts-expect-error precontext is not typed
const precontext = response.precontext;
console.log("Web Scrape Results:", precontext?.[0]?.result);

JSON output

{
  "object": {
    "first_name": "Yoeven",
    "last_name": "Khemlani",
    "location": "San Francisco, California, United States",
    "latest_education": "Imperial College London",
    "current_job": "Interfaze (Previously JigsawStack)",
    "followers": 4000
  },
  "response": {
    "id": "interfaze-1775117663396",
    "modelId": "interfaze-beta",
    "body": {
      "id": "interfaze-1775117663396",
      "object": "chat.completion",
      "model": "interfaze-beta",
      "usage": {
        "prompt_tokens": 22451,
        "completion_tokens": 49971,
        "total_tokens": 72422
      },
      "precontext": [
        {
          "name": "web_extract",
          "result": {
            "scraped_content": {
              "first_name": [
                "Yoeven",
                "Harsha",
                "Alex",
                "Eugene",
                "Michael",
                "Jack",
                "Stamatis",
                "Doug",
                "Dayalan",
                "Jeyner",
                "Thet",
                "Prem",
                "Bing",
                "Aris",
                "Jeremiah",
                "Maou",
                "Sweety"
              ],
              "last_name": [
                "Khemlani",
                "Khurdula",
                "Walling",
                "Teo",
                "Tefula",
                "Zumwalt",
                "Floratos",
                "Webb",
                "Sivapathasundaram",
                "Caga",
                "S.",
                "Wynn",
                "Kailasu",
                "Goh",
                "A.",
                "L.",
                "Lee",
                "Behin"
              ],
              "location": ["San Francisco, California, United States", "Singapore", "Greater Toronto Area, Canada", "Klang", "Australia"],
              "latest_education": ["Imperial College London"]
            },
            "scraped_elements": [
              {
                "selector": "h1.top-card-layout__title",
                "results": [
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "top-card-layout__title font-sans text-lg papabear:text-xl font-bold leading-open text-color-text mb-0"
                      }
                    ]
                  }
                ],
                "key": "first_name"
              },
              {
                "selector": "div.base-main-card__info h3.base-main-card__title",
                "results": [
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Harsha Vardhan Khurdula",
                    "text": "Harsha Vardhan Khurdula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Alex Walling",
                    "text": "Alex Walling",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Eugene Teo",
                    "text": "Eugene Teo",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Michael Tefula",
                    "text": "Michael Tefula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Harsha Vardhan Khurdula",
                    "text": "Harsha Vardhan Khurdula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze (Previously JigsawStack)",
                    "text": "Interfaze (Previously JigsawStack)",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Michael Tefula",
                    "text": "Michael Tefula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze (Previously JigsawStack)",
                    "text": "Interfaze (Previously JigsawStack)",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Jack Zumwalt",
                    "text": "Jack Zumwalt",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Stamatis Floratos",
                    "text": "Stamatis Floratos",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Doug Webb",
                    "text": "Doug Webb",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  }
                ],
                "key": "first_name"
              },
              {
                "selector": "a.base-card__full-link span.sr-only",
                "results": [
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani shared this",
                    "text": "Yoeven D Khemlani shared this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Harsha Vardhan Khurdula",
                    "text": "Harsha Vardhan Khurdula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani shared this",
                    "text": "Yoeven D Khemlani shared this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "interfaze-ai/ocr-mlt-50m · Datasets at Hugging Face",
                    "text": "interfaze-ai/ocr-mlt-50m · Datasets at Hugging Face",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Alex Walling",
                    "text": "Alex Walling",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze: AI model built for deterministic developer tasks | Y Combinator",
                    "text": "Interfaze: AI model built for deterministic developer tasks | Y Combinator",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Eugene Teo",
                    "text": "Eugene Teo",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "public_profile__posts",
                    "text": "public_profile__posts",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Michael Tefula",
                    "text": "Michael Tefula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "public_profile__posts",
                    "text": "public_profile__posts",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani shared this",
                    "text": "Yoeven D Khemlani shared this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "public_profile__posts",
                    "text": "public_profile__posts",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani shared this",
                    "text": "Yoeven D Khemlani shared this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "public_profile__posts",
                    "text": "public_profile__posts",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Harsha Vardhan Khurdula",
                    "text": "Harsha Vardhan Khurdula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze (Previously JigsawStack)",
                    "text": "Interfaze (Previously JigsawStack)",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze <> JigsawStack: Branding change & Improvements - Interfaze",
                    "text": "Interfaze <> JigsawStack: Branding change & Improvements - Interfaze",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Michael Tefula",
                    "text": "Michael Tefula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze (Previously JigsawStack)",
                    "text": "Interfaze (Previously JigsawStack)",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reposted this",
                    "text": "Yoeven D Khemlani reposted this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze &lt;&gt; JigsawStack: Branding change &amp; Improvements - Interfaze",
                    "text": "Interfaze <> JigsawStack: Branding change & Improvements - Interfaze",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reacted on this",
                    "text": "Yoeven D Khemlani reacted on this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Jack Zumwalt",
                    "text": "Jack Zumwalt",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reacted on this",
                    "text": "Yoeven D Khemlani reacted on this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "public_profile__reactions",
                    "text": "public_profile__reactions",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reacted on this",
                    "text": "Yoeven D Khemlani reacted on this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Stamatis Floratos",
                    "text": "Stamatis Floratos",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reacted on this",
                    "text": "Yoeven D Khemlani reacted on this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "public_profile__reactions",
                    "text": "public_profile__reactions",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reacted on this",
                    "text": "Yoeven D Khemlani reacted on this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Doug Webb",
                    "text": "Doug Webb",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani reacted on this",
                    "text": "Yoeven D Khemlani reacted on this",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "public_profile__reactions",
                    "text": "public_profile__reactions",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Dayalan Sivapathasundaram",
                    "text": "Dayalan Sivapathasundaram",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Jeyner Gil Caga",
                    "text": "Jeyner Gil Caga",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "RADHESHYAM S.",
                    "text": "RADHESHYAM S.",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Thet Paing Wynn",
                    "text": "Thet Paing Wynn",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Prem Kumar Kailasu",
                    "text": "Prem Kumar Kailasu",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Bing Han Goh",
                    "text": "Bing Han Goh",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Aris A.",
                    "text": "Aris A.",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Jeremiah L.",
                    "text": "Jeremiah L.",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Maou Sheng Lee",
                    "text": "Maou Sheng Lee",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  },
                  {
                    "html": "Sweety Behin",
                    "text": "Sweety Behin",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "sr-only"
                      }
                    ]
                  }
                ],
                "key": "first_name"
              },
              {
                "selector": "h1.top-card-layout__title",
                "results": [
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "top-card-layout__title font-sans text-lg papabear:text-xl font-bold leading-open text-color-text mb-0"
                      }
                    ]
                  }
                ],
                "key": "last_name"
              },
              {
                "selector": "div.base-main-card__info h3.base-main-card__title",
                "results": [
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Harsha Vardhan Khurdula",
                    "text": "Harsha Vardhan Khurdula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Alex Walling",
                    "text": "Alex Walling",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Eugene Teo",
                    "text": "Eugene Teo",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Michael Tefula",
                    "text": "Michael Tefula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Harsha Vardhan Khurdula",
                    "text": "Harsha Vardhan Khurdula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze (Previously JigsawStack)",
                    "text": "Interfaze (Previously JigsawStack)",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Michael Tefula",
                    "text": "Michael Tefula",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Interfaze (Previously JigsawStack)",
                    "text": "Interfaze (Previously JigsawStack)",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Jack Zumwalt",
                    "text": "Jack Zumwalt",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Stamatis Floratos",
                    "text": "Stamatis Floratos",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  },
                  {
                    "html": "Doug Webb",
                    "text": "Doug Webb",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "base-main-card__title line-clamp-1 font-sans text-md font-bold text-color-text overflow-hidden\n              \n              \n              base-main-card__title--link"
                      }
                    ]
                  }
                ],
                "key": "last_name"
              },
              {
                "selector": "h3.top-card-layout__first-subline span",
                "results": [
                  {
                    "html": "San Francisco, California, United States",
                    "text": "San Francisco, California, United States",
                    "attributes": []
                  },
                  {
                    "html": "Yoeven can introduce you to 4 people at Interfaze (Previously JigsawStack)",
                    "text": "Yoeven can introduce you to 4 people at Interfaze (Previously JigsawStack)",
                    "attributes": []
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "nsm7Bb-HzV7m-LgbsSe-BPrWId"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "L6cTce"
                      },
                      {
                        "name": "id",
                        "value": "button-label"
                      }
                    ]
                  },
                  {
                    "html": "Join with email",
                    "text": "Join with email",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "self-center"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "nsm7Bb-HzV7m-LgbsSe-BPrWId"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "L6cTce"
                      },
                      {
                        "name": "id",
                        "value": "button-label"
                      }
                    ]
                  },
                  {
                    "html": "4K followers",
                    "text": "4K followers",
                    "attributes": []
                  },
                  {
                    "html": "500+ connections",
                    "text": "500+ connections",
                    "attributes": []
                  }
                ],
                "key": "location"
              },
              {
                "selector": "div.profile-info-subheader span",
                "results": [
                  {
                    "html": "San Francisco, California, United States",
                    "text": "San Francisco, California, United States",
                    "attributes": []
                  },
                  {
                    "html": "Yoeven can introduce you to 4 people at Interfaze (Previously JigsawStack)",
                    "text": "Yoeven can introduce you to 4 people at Interfaze (Previously JigsawStack)",
                    "attributes": []
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "nsm7Bb-HzV7m-LgbsSe-BPrWId"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "L6cTce"
                      },
                      {
                        "name": "id",
                        "value": "button-label"
                      }
                    ]
                  },
                  {
                    "html": "Join with email",
                    "text": "Join with email",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "self-center"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "nsm7Bb-HzV7m-LgbsSe-BPrWId"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "L6cTce"
                      },
                      {
                        "name": "id",
                        "value": "button-label"
                      }
                    ]
                  },
                  {
                    "html": "4K followers",
                    "text": "4K followers",
                    "attributes": []
                  },
                  {
                    "html": "500+ connections",
                    "text": "500+ connections",
                    "attributes": []
                  }
                ],
                "key": "location"
              },
              {
                "selector": "h3.top-card-layout__first-subline .profile-info-subheader span",
                "results": [
                  {
                    "html": "San Francisco, California, United States",
                    "text": "San Francisco, California, United States",
                    "attributes": []
                  },
                  {
                    "html": "Yoeven can introduce you to 4 people at Interfaze (Previously JigsawStack)",
                    "text": "Yoeven can introduce you to 4 people at Interfaze (Previously JigsawStack)",
                    "attributes": []
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "nsm7Bb-HzV7m-LgbsSe-BPrWId"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "L6cTce"
                      },
                      {
                        "name": "id",
                        "value": "button-label"
                      }
                    ]
                  },
                  {
                    "html": "Join with email",
                    "text": "Join with email",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "self-center"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "nsm7Bb-HzV7m-LgbsSe-BPrWId"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "L6cTce"
                      },
                      {
                        "name": "id",
                        "value": "button-label"
                      }
                    ]
                  },
                  {
                    "html": "4K followers",
                    "text": "4K followers",
                    "attributes": []
                  },
                  {
                    "html": "500+ connections",
                    "text": "500+ connections",
                    "attributes": []
                  }
                ],
                "key": "location"
              },
              {
                "selector": "div.top-card__links-container a[href*=\"school\" ] span.top-card-link__description",
                "results": [
                  {
                    "html": "Imperial College London",
                    "text": "Imperial College London",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "top-card-link__description line-clamp-2"
                      }
                    ]
                  }
                ],
                "key": "latest_education"
              },
              {
                "selector": "div.top-card__links-container a:nth-of-type(2) span.top-card-link__description",
                "results": [],
                "key": "latest_education"
              }
            ],
            "meta": {
              "title": "Yoeven D Khemlani - Interfaze (Previously JigsawStack) | LinkedIn",
              "description": "build and explore · Experience: Interfaze (Previously JigsawStack) · Education: Imperial College London · Location: San Francisco · 500+ connections on LinkedIn. View Yoeven D Khemlani’s profile on LinkedIn, a professional community of 1 billion members.",
              "og_image": "https://media.licdn.com/dms/image/v2/D5603AQG8va4HC_b_Iw/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1708580251798?e=2147483647&v=beta&t=hVWwB1_jQLQAS-MRYP9LpYqIVvjuirEBnvhhrI_mlGA"
            }
          }
        },
        {
          "name": "web_extract",
          "result": {
            "scraped_content": {
              "followers": ["4K followers", "500+ connections"]
            },
            "scraped_elements": [
              {
                "selector": ".not-first-middot span",
                "results": [
                  {
                    "html": "4K followers",
                    "text": "4K followers",
                    "attributes": []
                  },
                  {
                    "html": "500+ connections",
                    "text": "500+ connections",
                    "attributes": []
                  }
                ],
                "key": "followers"
              },
              {
                "selector": "h1.top-card-layout__title",
                "results": [
                  {
                    "html": "Yoeven D Khemlani",
                    "text": "Yoeven D Khemlani",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "top-card-layout__title font-sans text-lg papabear:text-xl font-bold leading-open text-color-text mb-0"
                      }
                    ]
                  }
                ],
                "key": "followers"
              },
              {
                "selector": "h3.top-card-layout__first-subline span",
                "results": [
                  {
                    "html": "San Francisco, California, United States",
                    "text": "San Francisco, California, United States",
                    "attributes": []
                  },
                  {
                    "html": "Yoeven can introduce you to 4 people at Interfaze (Previously JigsawStack)",
                    "text": "Yoeven can introduce you to 4 people at Interfaze (Previously JigsawStack)",
                    "attributes": []
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "nsm7Bb-HzV7m-LgbsSe-BPrWId"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "L6cTce"
                      },
                      {
                        "name": "id",
                        "value": "button-label"
                      }
                    ]
                  },
                  {
                    "html": "Sign in with Email",
                    "text": "Sign in with Email",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "self-center"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "nsm7Bb-HzV7m-LgbsSe-BPrWId"
                      }
                    ]
                  },
                  {
                    "html": "Continue with Google",
                    "text": "Continue with Google",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "L6cTce"
                      },
                      {
                        "name": "id",
                        "value": "button-label"
                      }
                    ]
                  },
                  {
                    "html": "4K followers",
                    "text": "4K followers",
                    "attributes": []
                  },
                  {
                    "html": "500+ connections",
                    "text": "500+ connections",
                    "attributes": []
                  }
                ],
                "key": "followers"
              },
              {
                "selector": "div.top-card__links-container a",
                "results": [
                  {
                    "html": "<span class=\"top-card-link__description line-clamp-2\">\n        Interfaze (Previously JigsawStack)\n</span>",
                    "text": "Interfaze (Previously JigsawStack)",
                    "attributes": [
                      {
                        "name": "href",
                        "value": "https://www.linkedin.com/company/interfaze-ai?trk=public_profile_topcard-current-company"
                      },
                      {
                        "name": "class",
                        "value": "flex text-md mb-1.5 font-sans font-bold leading-open items-center\n        link"
                      }
                    ]
                  },
                  {
                    "html": "<span class=\"top-card-link__description line-clamp-2\">\n        Imperial College London\n</span>",
                    "text": "Imperial College London",
                    "attributes": [
                      {
                        "name": "href",
                        "value": "https://uk.linkedin.com/school/imperial-college-london/?trk=public_profile_topcard-school"
                      },
                      {
                        "name": "class",
                        "value": "flex text-md mb-1.5 font-sans font-bold leading-open items-center\n        link"
                      }
                    ]
                  },
                  {
                    "html": "<span class=\"top-card-link__description line-clamp-2\">\n        Portfolio\n          </span>",
                    "text": "Portfolio",
                    "attributes": [
                      {
                        "name": "href",
                        "value": "https://www.linkedin.com/redir/redirect?url=yoeven%2Ecom&urlhash=3_Lr&trk=public_profile_topcard-website"
                      },
                      {
                        "name": "class",
                        "value": "flex text-md mb-1.5 font-sans font-bold leading-open items-center\n        link"
                      }
                    ]
                  }
                ],
                "key": "followers"
              },
              {
                "selector": "section.core-section-container.core-section-container--with-border.summary .core-section-container__title",
                "results": [
                  {
                    "html": "About",
                    "text": "About",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "core-section-container__title section-title"
                      }
                    ]
                  }
                ],
                "key": "followers"
              }
            ],
            "meta": {
              "title": "Yoeven D Khemlani - Interfaze (Previously JigsawStack) | LinkedIn",
              "description": "build and explore · Experience: Interfaze (Previously JigsawStack) · Education: Imperial College London · Location: San Francisco · 500+ connections on LinkedIn. View Yoeven D Khemlani’s profile on LinkedIn, a professional community of 1 billion members.",
              "og_image": "https://media.licdn.com/dms/image/v2/D5603AQG8va4HC_b_Iw/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1708580251798?e=2147483647&v=beta&t=hVWwB1_jQLQAS-MRYP9LpYqIVvjuirEBnvhhrI_mlGA"
            }
          }
        }
      ]
    }
  },
  "finishReason": "stop",
  "usage": {
    "inputTokens": 22451,
    "outputTokens": 49971,
    "totalTokens": 72422
  }
}

Scrape ecommerce sites

OpenAI SDK

Vercel AI SDK

LangChain SDK

import { z } from "zod";
import { zodResponseFormat } from "openai/helpers/zod";

const ProductSchema = z.object({
	price: z.number(),
	listing_name: z.string(),
});

const response = await interfaze.chat.completions.create({
	model: "interfaze-beta",
	messages: [
		{
			role: "user",
			content:
				"Extract the information from https://www.amazon.com/Nintendo-SwitchTM-Neon-Blue-Joy%25E2%2580%2591ConTM-Switch/dp/B0BFJWCYTL?sr=8-2",
		},
	],
	response_format: zodResponseFormat(ProductSchema, "product_schema"),
});

console.log(response.choices[0].message.content);

//@ts-expect-error precontext is not typed
const precontext = response.precontext;
console.log("Web Scrape Results:", precontext?.[0]?.result);

JSON output

{
  "object": {
    "price": 323.6,
    "listing_name": "Nintendo Switch with Neon Blue and Neon Red Joy-Con - Handheld Gaming Console"
  },
  "response": {
    "id": "interfaze-1775118570338",
    "modelId": "interfaze-beta",
    "body": {
      "id": "interfaze-1775118570338",
      "object": "chat.completion",
      "model": "interfaze-beta",
      "usage": {
        "prompt_tokens": 12373,
        "completion_tokens": 38668,
        "total_tokens": 51041
      },
      "precontext": [
        {
          "name": "web_extract",
          "result": {
            "scraped_content": {
              "price": [
                "$323.60",
                "$339.99",
                "$214.00",
                "$30.99",
                "$39.99",
                "$16.99",
                "$323.60",
                "$29.83",
                "$49.90",
                "$403.33",
                "$214.95",
                "$29.83",
                "$49.90",
                "$18.97",
                "$25.99",
                "$194.99"
              ],
              "listing_name": [
                "Nintendo Switch with Neon Blue and Neon Red Joy-Con - Handheld Gaming Console",
                "Nintendo Switch with Neon Blue and Red Joy-Con",
                "2-Year Protection Plan",
                "3-Year Protection Plan",
                "Complete Protect: One simple plan covers all eligible past & future Amazon Purchases",
                "This item: Nintendo Switch with Neon Blue and Neon Red Joy-Co...",
                "Minecraft - Nintendo Switch",
                "Nintendo Switch Sports - Nintendo Switch",
                "daydayup Switch Carryi...",
                "New & Used"
              ]
            },
            "scraped_elements": [
              {
                "selector": "#corePrice_feature_div .a-offscreen",
                "results": [
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$214.95",
                    "text": "$214.95",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  }
                ],
                "key": "price"
              },
              {
                "selector": ".a-price .a-offscreen",
                "results": [
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$214.95",
                    "text": "$214.95",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$194.99",
                    "text": "$194.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$339.99",
                    "text": "$339.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$339.99",
                    "text": "$339.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$29.83",
                    "text": "$29.83",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$49.90",
                    "text": "$49.90",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$403.33",
                    "text": "$403.33",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$25.99",
                    "text": "$25.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$6.50",
                    "text": "$6.50",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$28.88",
                    "text": "$28.88",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$14.99",
                    "text": "$14.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$23.99",
                    "text": "$23.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$10.99",
                    "text": "$10.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$29.83",
                    "text": "$29.83",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$49.90",
                    "text": "$49.90",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$18.97",
                    "text": "$18.97",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$55.89",
                    "text": "$55.89",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$7.45",
                    "text": "$7.45",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$52.30",
                    "text": "$52.30",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$29.99",
                    "text": "$29.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$69.99",
                    "text": "$69.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$69.99",
                    "text": "$69.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$69.99",
                    "text": "$69.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$25.99",
                    "text": "$25.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$6.50",
                    "text": "$6.50",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$28.88",
                    "text": "$28.88",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$10.99",
                    "text": "$10.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$23.99",
                    "text": "$23.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$213.50",
                    "text": "$213.50",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$299.99",
                    "text": "$299.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$224.90",
                    "text": "$224.90",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$216.98",
                    "text": "$216.98",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$293.99",
                    "text": "$293.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$214.95",
                    "text": "$214.95",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$35.99",
                    "text": "$35.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$39.99",
                    "text": "$39.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$14.98",
                    "text": "$14.98",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$18.99",
                    "text": "$18.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$17.99",
                    "text": "$17.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$24.99",
                    "text": "$24.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$26.99",
                    "text": "$26.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$29.99",
                    "text": "$29.99",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  }
                ],
                "key": "price"
              },
              {
                "selector": ".a-price .a-price-whole + .a-price-decimal + .a-price-fraction",
                "results": [],
                "key": "price"
              },
              {
                "selector": "#tp_price_block_total_price_ww .a-offscreen",
                "results": [
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  },
                  {
                    "html": "$323.60",
                    "text": "$323.60",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-offscreen"
                      }
                    ]
                  }
                ],
                "key": "price"
              },
              {
                "selector": "#price_block_total_price_details_ww .a-offscreen",
                "results": [],
                "key": "price"
              },
              {
                "selector": "#wayfinding-breadcrumbs_feature_div ul.a-unordered-list li a[aria-current=\"page\"]",
                "results": [
                  {
                    "html": "Consoles",
                    "text": "Consoles",
                    "attributes": [
                      {
                        "name": "aria-current",
                        "value": "page"
                      },
                      {
                        "name": "class",
                        "value": "a-link-normal a-color-tertiary"
                      },
                      {
                        "name": "href",
                        "value": "/b/ref=dp_bc_3?ie=UTF8&node=16227130011"
                      }
                    ]
                  }
                ],
                "key": "listing_name"
              },
              {
                "selector": "#wayfinding-breadcrumbs_feature_div .a-unordered-list .a-list-item a",
                "results": [
                  {
                    "html": "Video Games",
                    "text": "Video Games",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-link-normal a-color-tertiary"
                      },
                      {
                        "name": "href",
                        "value": "/computer-video-games-hardware-accessories/b/ref=dp_bc_1?ie=UTF8&node=468642"
                      }
                    ]
                  },
                  {
                    "html": "Nintendo Switch",
                    "text": "Nintendo Switch",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-link-normal a-color-tertiary"
                      },
                      {
                        "name": "href",
                        "value": "/Nintendo-Switch/b/ref=dp_bc_2?ie=UTF8&node=16227128011"
                      }
                    ]
                  },
                  {
                    "html": "Consoles",
                    "text": "Consoles",
                    "attributes": [
                      {
                        "name": "aria-current",
                        "value": "page"
                      },
                      {
                        "name": "class",
                        "value": "a-link-normal a-color-tertiary"
                      },
                      {
                        "name": "href",
                        "value": "/b/ref=dp_bc_3?ie=UTF8&node=16227130011"
                      }
                    ]
                  }
                ],
                "key": "listing_name"
              },
              {
                "selector": "#sellerProfileTriggerId",
                "results": [
                  {
                    "html": "trusted tech",
                    "text": "trusted tech",
                    "attributes": [
                      {
                        "name": "href",
                        "value": "/gp/help/seller/at-a-glance.html/ref=dp_merchant_link?ie=UTF8&seller=A2Z6FYK4VIMSMS&asin=B0BFJWCYTL&ref_=dp_merchant_link&isAmazonFulfilled=1"
                      },
                      {
                        "name": "id",
                        "value": "sellerProfileTriggerId"
                      },
                      {
                        "name": "class",
                        "value": "a-size-small a-link-normal offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "trusted tech",
                    "text": "trusted tech",
                    "attributes": [
                      {
                        "name": "href",
                        "value": "/gp/help/seller/at-a-glance.html/ref=dp_merchant_link?ie=UTF8&seller=A2Z6FYK4VIMSMS&asin=B0BFJWCYTL&ref_=dp_merchant_link&isAmazonFulfilled=1"
                      },
                      {
                        "name": "id",
                        "value": "sellerProfileTriggerId"
                      },
                      {
                        "name": "class",
                        "value": "a-size-small a-link-normal offer-display-feature-text-message"
                      }
                    ]
                  }
                ],
                "key": "listing_name"
              },
              {
                "selector": ".offer-display-feature-text-message",
                "results": [
                  {
                    "html": "Amazon",
                    "text": "Amazon",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-small offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "Amazon",
                    "text": "Amazon",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-small offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "trusted tech",
                    "text": "trusted tech",
                    "attributes": [
                      {
                        "name": "href",
                        "value": "/gp/help/seller/at-a-glance.html/ref=dp_merchant_link?ie=UTF8&seller=A2Z6FYK4VIMSMS&asin=B0BFJWCYTL&ref_=dp_merchant_link&isAmazonFulfilled=1"
                      },
                      {
                        "name": "id",
                        "value": "sellerProfileTriggerId"
                      },
                      {
                        "name": "class",
                        "value": "a-size-small a-link-normal offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "trusted tech",
                    "text": "trusted tech",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-small offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "trusted tech",
                    "text": "trusted tech",
                    "attributes": [
                      {
                        "name": "href",
                        "value": "/gp/help/seller/at-a-glance.html/ref=dp_merchant_link?ie=UTF8&seller=A2Z6FYK4VIMSMS&asin=B0BFJWCYTL&ref_=dp_merchant_link&isAmazonFulfilled=1"
                      },
                      {
                        "name": "id",
                        "value": "sellerProfileTriggerId"
                      },
                      {
                        "name": "class",
                        "value": "a-size-small a-link-normal offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "FREE 30-day refund/replacement",
                    "text": "FREE 30-day refund/replacement",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-small offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "Secure transaction",
                    "text": "Secure transaction",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-small offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "Product support included",
                    "text": "Product support included",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-small offer-display-feature-text-message"
                      }
                    ]
                  },
                  {
                    "html": "Ships in product packaging",
                    "text": "Ships in product packaging",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-small offer-display-feature-text-message"
                      }
                    ]
                  }
                ],
                "key": "listing_name"
              },
              {
                "selector": ".a-size-large.a-text-bold",
                "results": [
                  {
                    "html": "2-Year Portable Electronic Accident Protection Plan",
                    "text": "2-Year Portable Electronic Accident Protection Plan",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-large a-text-bold"
                      }
                    ]
                  },
                  {
                    "html": "3-Year Portable Electronic Accident Protection Plan",
                    "text": "3-Year Portable Electronic Accident Protection Plan",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-large a-text-bold"
                      }
                    ]
                  },
                  {
                    "html": "Complete Protect: One simple plan covers all eligible past &amp; future Amazon Purchases",
                    "text": "Complete Protect: One simple plan covers all eligible past & future Amazon Purchases",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-large a-text-bold"
                      }
                    ]
                  },
                  {
                    "html": "Complete Protect: One simple plan covers all eligible past &amp; future Amazon Purchases",
                    "text": "Complete Protect: One simple plan covers all eligible past & future Amazon Purchases",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-large a-text-bold"
                      }
                    ]
                  },
                  {
                    "html": "Complete Protect: One simple plan covers all eligible past &amp; future Amazon Purchases",
                    "text": "Complete Protect: One simple plan covers all eligible past & future Amazon Purchases",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-large a-text-bold"
                      }
                    ]
                  },
                  {
                    "html": "Product information",
                    "text": "Product information",
                    "attributes": [
                      {
                        "name": "class",
                        "value": "a-size-large a-spacing-small a-text-bold"
                      }
                    ]
                  }
                ],
                "key": "listing_name"
              }
            ],
            "meta": {
              "title": "Amazon.com: Nintendo Switch with Neon Blue and Neon Red Joy-Con - Handheld Gaming Console",
              "description": "Amazon.com: Nintendo Switch with Neon Blue and Neon Red Joy-Con - Handheld Gaming Console"
            }
          }
        }
      ]
    }
  },
  "finishReason": "stop",
  "usage": {
    "inputTokens": 12373,
    "outputTokens": 38668,
    "totalTokens": 51041
  }
}

Web scrape raw outputs

Running Web scrape as a tasks with <task>scraper</task> in the system message make it faster and cheaper with a fixed structured output that's pre-defined.

Learn more about running a task.

OpenAI SDK

Vercel AI SDK

LangChain SDK

import { z } from "zod";
import { zodResponseFormat } from "openai/helpers/zod";

const response = await interfaze.chat.completions.create({
	model: "interfaze-beta",
	messages: [
		{ role: "system", content: "<task>scraper</task>" },
		{ role: "user", content: "Extract post titles and points from https://news.ycombinator.com" },
	],
	response_format: zodResponseFormat(z.any(), "scraper_schema"),
});

console.log(response.choices[0].message.content);

//@ts-expect-error precontext is not typed
const precontext = response.precontext;
console.log("Web Scrape Results:", precontext[0]?.result);

JSON output

{
  "object": {
    "name": "ai_scraper",
    "result": {
      "scraped_content": {
        "title": [
          "Google releases Gemma 4 open models",
          "Tailscale's new macOS home",
          "Cursor 3",
          "Artemis II's toilet is a moon mission milestone",
          "George Goble has died",
          "Decisions that eroded trust in Azure – by a former Azure Core engineer",
          "ParadeDB (YC S23) Is Hiring Database Internal Engineers (Rust)",
          "Qwen3.6-Plus: Towards real world agents",
          "Good ideas do not need lots of lies in order to gain public acceptance (2008)",
          "Lemonade by AMD: a fast and open source local LLM server using GPU and NPU",
          "The Australian government has announced gambling advertising reforms",
          "LinkedIn is searching your browser extensions",
          "JSON Canvas Spec (2024)",
          "Significant progress made on Xbox 360 recompilation",
          "The IDE Is Dead. Long Live the ADE",
          "Prefer do notation over Applicative operators when assembling records (2024)",
          "OpenAI Acquires TBPN",
          "Memo: A language that remembers only the last 12 lines of code",
          "Inside Nepal's Fake Rescue Racket",
          "Significant raise of reports",
          "Magic the Gathering Deck Shuffler",
          "Artemis computer running two instances of MS outlook; they can't figure out why",
          "Foxing aspires to be an eBPF-powered replication engine for Linux filesystems",
          "IBM Announces Strategic Collaboration with Arm",
          "'Backrooms' and the Rise of the Institutional Gothic",
          "Amazon is adding a fuel surcharge to fees it collects from third-party sellers",
          "Sweden goes back to basics, swapping screens for books in the classroom",
          "Show HN: A P2P messenger with dual network modes (Fast and Tor)",
          "Hugo's New CSS Powers",
          "Artemis II will use laser beams to live-stream 4K moon footage at 260 Mbps"
        ],
        "points": [
          "962 points",
          "238 points",
          "221 points",
          "67 points",
          "85 points",
          "132 points",
          "391 points",
          "109 points",
          "402 points",
          "50 points",
          "1498 points",
          "76 points",
          "49 points",
          "5 points",
          "7 points",
          "116 points",
          "4 points",
          "240 points",
          "264 points",
          "26 points",
          "261 points",
          "26 points",
          "256 points",
          "157 points",
          "114 points",
          "705 points",
          "23 points",
          "32 points",
          "306 points"
        ]
      },
      "scraped_elements": [
        {
          "selector": "#hnmain .hnname a",
          "results": [
            {
              "html": "Hacker News",
              "text": "Hacker News",
              "attributes": [
                {
                  "name": "href",
                  "value": "news"
                }
              ]
            }
          ],
          "key": "title"
        },
        {
          "selector": "table#hnmain span.pagetop b.hnname a",
          "results": [
            {
              "html": "Hacker News",
              "text": "Hacker News",
              "attributes": [
                {
                  "name": "href",
                  "value": "news"
                }
              ]
            }
          ],
          "key": "title"
        },
        {
          "selector": "table#hnmain a.morelink",
          "results": [
            {
              "html": "More",
              "text": "More",
              "attributes": [
                {
                  "name": "href",
                  "value": "?p=2"
                },
                {
                  "name": "class",
                  "value": "morelink"
                }
              ]
            }
          ],
          "key": "title"
        },
        {
          "selector": "table#hnmain tr.athing.submission .titleline a",
          "results": [
            {
              "html": "Google releases Gemma 4 open models",
              "text": "Google releases Gemma 4 open models",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://deepmind.google/models/gemma/gemma-4/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">deepmind.google</span>",
              "text": "deepmind.google",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=deepmind.google"
                }
              ]
            },
            {
              "html": "Tailscale's new macOS home",
              "text": "Tailscale's new macOS home",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://tailscale.com/blog/macos-notch-escape"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">tailscale.com</span>",
              "text": "tailscale.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=tailscale.com"
                }
              ]
            },
            {
              "html": "Cursor 3",
              "text": "Cursor 3",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://cursor.com/blog/cursor-3"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">cursor.com</span>",
              "text": "cursor.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=cursor.com"
                }
              ]
            },
            {
              "html": "Artemis II's toilet is a moon mission milestone",
              "text": "Artemis II's toilet is a moon mission milestone",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://www.scientificamerican.com/article/artemis-iis-toilet-is-a-moon-mission-milestone/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">scientificamerican.com</span>",
              "text": "scientificamerican.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=scientificamerican.com"
                }
              ]
            },
            {
              "html": "George Goble has died",
              "text": "George Goble has died",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://www.legacy.com/us/obituaries/wlfi/name/george-goble-obituary?id=61144779"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">legacy.com</span>",
              "text": "legacy.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=legacy.com"
                }
              ]
            },
            {
              "html": "Decisions that eroded trust in Azure – by a former Azure Core engineer",
              "text": "Decisions that eroded trust in Azure – by a former Azure Core engineer",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://isolveproblems.substack.com/p/how-microsoft-vaporized-a-trillion"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">isolveproblems.substack.com</span>",
              "text": "isolveproblems.substack.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=isolveproblems.substack.com"
                }
              ]
            },
            {
              "html": "ParadeDB (YC S23) Is Hiring Database Internal Engineers (Rust)",
              "text": "ParadeDB (YC S23) Is Hiring Database Internal Engineers (Rust)",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://paradedb.notion.site/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">paradedb.notion.site</span>",
              "text": "paradedb.notion.site",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=paradedb.notion.site"
                }
              ]
            },
            {
              "html": "Qwen3.6-Plus: Towards real world agents",
              "text": "Qwen3.6-Plus: Towards real world agents",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://qwen.ai/blog?id=qwen3.6"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">qwen.ai</span>",
              "text": "qwen.ai",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=qwen.ai"
                }
              ]
            },
            {
              "html": "Good ideas do not need lots of lies in order to gain public acceptance (2008)",
              "text": "Good ideas do not need lots of lies in order to gain public acceptance (2008)",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://blog.danieldavies.com/2004/05/d-squared-digest-one-minute-mba.html"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">danieldavies.com</span>",
              "text": "danieldavies.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=danieldavies.com"
                }
              ]
            },
            {
              "html": "Lemonade by AMD: a fast and open source local LLM server using GPU and NPU",
              "text": "Lemonade by AMD: a fast and open source local LLM server using GPU and NPU",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://lemonade-server.ai"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">lemonade-server.ai</span>",
              "text": "lemonade-server.ai",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=lemonade-server.ai"
                }
              ]
            },
            {
              "html": "The Australian government has announced gambling advertising reforms",
              "text": "The Australian government has announced gambling advertising reforms",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://www.bbc.com/news/articles/c62492e925lo"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">bbc.com</span>",
              "text": "bbc.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=bbc.com"
                }
              ]
            },
            {
              "html": "LinkedIn is searching your browser extensions",
              "text": "LinkedIn is searching your browser extensions",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://browsergate.eu/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">browsergate.eu</span>",
              "text": "browsergate.eu",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=browsergate.eu"
                }
              ]
            },
            {
              "html": "JSON Canvas Spec (2024)",
              "text": "JSON Canvas Spec (2024)",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://jsoncanvas.org/spec/1.0/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">jsoncanvas.org</span>",
              "text": "jsoncanvas.org",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=jsoncanvas.org"
                }
              ]
            },
            {
              "html": "Significant progress made on Xbox 360 recompilation",
              "text": "Significant progress made on Xbox 360 recompilation",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://readonlymemo.com/rexglue-xbox-360-recompilation-interview/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">readonlymemo.com</span>",
              "text": "readonlymemo.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=readonlymemo.com"
                }
              ]
            },
            {
              "html": "The IDE Is Dead. Long Live the ADE",
              "text": "The IDE Is Dead. Long Live the ADE",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://lanes.sh/blog/the-ide-is-dead"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">lanes.sh</span>",
              "text": "lanes.sh",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=lanes.sh"
                }
              ]
            },
            {
              "html": "Prefer do notation over Applicative operators when assembling records (2024)",
              "text": "Prefer do notation over Applicative operators when assembling records (2024)",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://haskellforall.com/2024/05/prefer-do-notation-over-applicative"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">haskellforall.com</span>",
              "text": "haskellforall.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=haskellforall.com"
                }
              ]
            },
            {
              "html": "OpenAI Acquires TBPN",
              "text": "OpenAI Acquires TBPN",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://openai.com/index/openai-acquires-tbpn/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">openai.com</span>",
              "text": "openai.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=openai.com"
                }
              ]
            },
            {
              "html": "Memo: A language that remembers only the last 12 lines of code",
              "text": "Memo: A language that remembers only the last 12 lines of code",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://danieltemkin.com/Esolangs/Memo/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">danieltemkin.com</span>",
              "text": "danieltemkin.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=danieltemkin.com"
                }
              ]
            },
            {
              "html": "Inside Nepal's Fake Rescue Racket",
              "text": "Inside Nepal's Fake Rescue Racket",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://kathmandupost.com/money/2026/03/27/inside-nepal-s-fake-rescue-racket"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">kathmandupost.com</span>",
              "text": "kathmandupost.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=kathmandupost.com"
                }
              ]
            },
            {
              "html": "Significant raise of reports",
              "text": "Significant raise of reports",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://lwn.net/Articles/1065620/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">lwn.net</span>",
              "text": "lwn.net",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=lwn.net"
                }
              ]
            },
            {
              "html": "Magic the Gathering Deck Shuffler",
              "text": "Magic the Gathering Deck Shuffler",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://mtg.jessitron.honeydemo.io/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">honeydemo.io</span>",
              "text": "honeydemo.io",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=honeydemo.io"
                }
              ]
            },
            {
              "html": "Artemis computer running two instances of MS outlook; they can't figure out why",
              "text": "Artemis computer running two instances of MS outlook; they can't figure out why",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://bsky.app/profile/nikigrayson.com/post/3miik2wzosk25"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">bsky.app</span>",
              "text": "bsky.app",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=bsky.app"
                }
              ]
            },
            {
              "html": "Foxing aspires to be an eBPF-powered replication engine for Linux filesystems",
              "text": "Foxing aspires to be an eBPF-powered replication engine for Linux filesystems",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://codeberg.org/aenertia/foxing"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">codeberg.org/aenertia</span>",
              "text": "codeberg.org/aenertia",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=codeberg.org/aenertia"
                }
              ]
            },
            {
              "html": "IBM Announces Strategic Collaboration with Arm",
              "text": "IBM Announces Strategic Collaboration with Arm",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://newsroom.ibm.com/2026-04-02-ibm-announces-strategic-collaboration-with-arm-to-shape-the-future-of-enterprise-computing"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">ibm.com</span>",
              "text": "ibm.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=ibm.com"
                }
              ]
            },
            {
              "html": "'Backrooms' and the Rise of the Institutional Gothic",
              "text": "'Backrooms' and the Rise of the Institutional Gothic",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://thereader.mitpress.mit.edu/backrooms-and-the-rise-of-the-institutional-gothic/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">mitpress.mit.edu</span>",
              "text": "mitpress.mit.edu",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=mitpress.mit.edu"
                }
              ]
            },
            {
              "html": "Amazon is adding a fuel surcharge to fees it collects from third-party sellers",
              "text": "Amazon is adding a fuel surcharge to fees it collects from third-party sellers",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://www.cnbc.com/2026/04/02/amazon-add-3point5percent-fuel-and-logistics-surcharge-for-sellers-amid-iran-war.html"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">cnbc.com</span>",
              "text": "cnbc.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=cnbc.com"
                }
              ]
            },
            {
              "html": "Sweden goes back to basics, swapping screens for books in the classroom",
              "text": "Sweden goes back to basics, swapping screens for books in the classroom",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://undark.org/2026/04/01/sweden-schools-books/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">undark.org</span>",
              "text": "undark.org",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=undark.org"
                }
              ]
            },
            {
              "html": "Show HN: A P2P messenger with dual network modes (Fast and Tor)",
              "text": "Show HN: A P2P messenger with dual network modes (Fast and Tor)",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://github.com/Realman78/Kiyeovo/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">github.com/realman78</span>",
              "text": "github.com/realman78",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=github.com/realman78"
                }
              ]
            },
            {
              "html": "Hugo's New CSS Powers",
              "text": "Hugo's New CSS Powers",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://www.brycewray.com/posts/2026/04/hugos-new-css-powers/"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">brycewray.com</span>",
              "text": "brycewray.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=brycewray.com"
                }
              ]
            },
            {
              "html": "Artemis II will use laser beams to live-stream 4K moon footage at 260 Mbps",
              "text": "Artemis II will use laser beams to live-stream 4K moon footage at 260 Mbps",
              "attributes": [
                {
                  "name": "href",
                  "value": "https://www.tomshardware.com/networking/artemis-ii-will-use-laser-beams-to-live-stream-4k-moon-footage-one-giant-step-beyond-the-s-band-radio-comms-of-the-apollo-era"
                }
              ]
            },
            {
              "html": "<span class=\"sitestr\">tomshardware.com</span>",
              "text": "tomshardware.com",
              "attributes": [
                {
                  "name": "href",
                  "value": "from?site=tomshardware.com"
                }
              ]
            }
          ],
          "key": "title"
        },
        {
          "selector": "table#hnmain tr.athing.submission .sitestr",
          "results": [
            {
              "html": "deepmind.google",
              "text": "deepmind.google",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "tailscale.com",
              "text": "tailscale.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "cursor.com",
              "text": "cursor.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "scientificamerican.com",
              "text": "scientificamerican.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "legacy.com",
              "text": "legacy.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "isolveproblems.substack.com",
              "text": "isolveproblems.substack.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "paradedb.notion.site",
              "text": "paradedb.notion.site",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "qwen.ai",
              "text": "qwen.ai",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "danieldavies.com",
              "text": "danieldavies.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "lemonade-server.ai",
              "text": "lemonade-server.ai",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "bbc.com",
              "text": "bbc.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "browsergate.eu",
              "text": "browsergate.eu",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "jsoncanvas.org",
              "text": "jsoncanvas.org",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "readonlymemo.com",
              "text": "readonlymemo.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "lanes.sh",
              "text": "lanes.sh",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "haskellforall.com",
              "text": "haskellforall.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "openai.com",
              "text": "openai.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "danieltemkin.com",
              "text": "danieltemkin.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "kathmandupost.com",
              "text": "kathmandupost.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "lwn.net",
              "text": "lwn.net",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "honeydemo.io",
              "text": "honeydemo.io",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "bsky.app",
              "text": "bsky.app",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "codeberg.org/aenertia",
              "text": "codeberg.org/aenertia",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "ibm.com",
              "text": "ibm.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "mitpress.mit.edu",
              "text": "mitpress.mit.edu",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "cnbc.com",
              "text": "cnbc.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "undark.org",
              "text": "undark.org",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "github.com/realman78",
              "text": "github.com/realman78",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "brycewray.com",
              "text": "brycewray.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            },
            {
              "html": "tomshardware.com",
              "text": "tomshardware.com",
              "attributes": [
                {
                  "name": "class",
                  "value": "sitestr"
                }
              ]
            }
          ],
          "key": "title"
        },
        {
          "selector": "span.score",
          "results": [
            {
              "html": "962 points",
              "text": "962 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47616361"
                }
              ]
            },
            {
              "html": "238 points",
              "text": "238 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618189"
                }
              ]
            },
            {
              "html": "221 points",
              "text": "221 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618084"
                }
              ]
            },
            {
              "html": "67 points",
              "text": "67 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47609356"
                }
              ]
            },
            {
              "html": "85 points",
              "text": "85 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618176"
                }
              ]
            },
            {
              "html": "132 points",
              "text": "132 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47616242"
                }
              ]
            },
            {
              "html": "391 points",
              "text": "391 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47615002"
                }
              ]
            },
            {
              "html": "109 points",
              "text": "109 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47617415"
                }
              ]
            },
            {
              "html": "402 points",
              "text": "402 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47612724"
                }
              ]
            },
            {
              "html": "50 points",
              "text": "50 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618221"
                }
              ]
            },
            {
              "html": "1498 points",
              "text": "1498 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47613981"
                }
              ]
            },
            {
              "html": "76 points",
              "text": "76 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47572288"
                }
              ]
            },
            {
              "html": "49 points",
              "text": "49 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47562762"
                }
              ]
            },
            {
              "html": "5 points",
              "text": "5 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47621023"
                }
              ]
            },
            {
              "html": "7 points",
              "text": "7 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47592614"
                }
              ]
            },
            {
              "html": "116 points",
              "text": "116 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47617376"
                }
              ]
            },
            {
              "html": "4 points",
              "text": "4 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47620933"
                }
              ]
            },
            {
              "html": "240 points",
              "text": "240 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47613078"
                }
              ]
            },
            {
              "html": "264 points",
              "text": "264 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47611921"
                }
              ]
            },
            {
              "html": "26 points",
              "text": "26 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47575557"
                }
              ]
            },
            {
              "html": "261 points",
              "text": "261 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47615490"
                }
              ]
            },
            {
              "html": "26 points",
              "text": "26 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47574851"
                }
              ]
            },
            {
              "html": "256 points",
              "text": "256 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47611721"
                }
              ]
            },
            {
              "html": "157 points",
              "text": "157 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47614100"
                }
              ]
            },
            {
              "html": "114 points",
              "text": "114 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618581"
                }
              ]
            },
            {
              "html": "705 points",
              "text": "705 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47612601"
                }
              ]
            },
            {
              "html": "23 points",
              "text": "23 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47615844"
                }
              ]
            },
            {
              "html": "32 points",
              "text": "32 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618120"
                }
              ]
            },
            {
              "html": "306 points",
              "text": "306 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47615449"
                }
              ]
            }
          ],
          "key": "points"
        },
        {
          "selector": "tr.athing.submission + tr .subtext .score",
          "results": [
            {
              "html": "962 points",
              "text": "962 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47616361"
                }
              ]
            },
            {
              "html": "238 points",
              "text": "238 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618189"
                }
              ]
            },
            {
              "html": "221 points",
              "text": "221 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618084"
                }
              ]
            },
            {
              "html": "67 points",
              "text": "67 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47609356"
                }
              ]
            },
            {
              "html": "85 points",
              "text": "85 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618176"
                }
              ]
            },
            {
              "html": "132 points",
              "text": "132 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47616242"
                }
              ]
            },
            {
              "html": "391 points",
              "text": "391 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47615002"
                }
              ]
            },
            {
              "html": "109 points",
              "text": "109 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47617415"
                }
              ]
            },
            {
              "html": "402 points",
              "text": "402 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47612724"
                }
              ]
            },
            {
              "html": "50 points",
              "text": "50 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618221"
                }
              ]
            },
            {
              "html": "1498 points",
              "text": "1498 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47613981"
                }
              ]
            },
            {
              "html": "76 points",
              "text": "76 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47572288"
                }
              ]
            },
            {
              "html": "49 points",
              "text": "49 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47562762"
                }
              ]
            },
            {
              "html": "5 points",
              "text": "5 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47621023"
                }
              ]
            },
            {
              "html": "7 points",
              "text": "7 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47592614"
                }
              ]
            },
            {
              "html": "116 points",
              "text": "116 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47617376"
                }
              ]
            },
            {
              "html": "4 points",
              "text": "4 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47620933"
                }
              ]
            },
            {
              "html": "240 points",
              "text": "240 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47613078"
                }
              ]
            },
            {
              "html": "264 points",
              "text": "264 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47611921"
                }
              ]
            },
            {
              "html": "26 points",
              "text": "26 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47575557"
                }
              ]
            },
            {
              "html": "261 points",
              "text": "261 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47615490"
                }
              ]
            },
            {
              "html": "26 points",
              "text": "26 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47574851"
                }
              ]
            },
            {
              "html": "256 points",
              "text": "256 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47611721"
                }
              ]
            },
            {
              "html": "157 points",
              "text": "157 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47614100"
                }
              ]
            },
            {
              "html": "114 points",
              "text": "114 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618581"
                }
              ]
            },
            {
              "html": "705 points",
              "text": "705 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47612601"
                }
              ]
            },
            {
              "html": "23 points",
              "text": "23 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47615844"
                }
              ]
            },
            {
              "html": "32 points",
              "text": "32 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47618120"
                }
              ]
            },
            {
              "html": "306 points",
              "text": "306 points",
              "attributes": [
                {
                  "name": "class",
                  "value": "score"
                },
                {
                  "name": "id",
                  "value": "score_47615449"
                }
              ]
            }
          ],
          "key": "points"
        },
        {
          "selector": "td.subtext .subline .age a",
          "results": [
            {
              "html": "6 hours ago",
              "text": "6 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47616361"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618189"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618084"
                }
              ]
            },
            {
              "html": "2 hours ago",
              "text": "2 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47609356"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618176"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47616242"
                }
              ]
            },
            {
              "html": "8 hours ago",
              "text": "8 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615002"
                }
              ]
            },
            {
              "html": "5 hours ago",
              "text": "5 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47617415"
                }
              ]
            },
            {
              "html": "11 hours ago",
              "text": "11 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47612724"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618221"
                }
              ]
            },
            {
              "html": "9 hours ago",
              "text": "9 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47613981"
                }
              ]
            },
            {
              "html": "5 hours ago",
              "text": "5 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47572288"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47562762"
                }
              ]
            },
            {
              "html": "18 minutes ago",
              "text": "18 minutes ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47621023"
                }
              ]
            },
            {
              "html": "1 hour ago",
              "text": "1 hour ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47592614"
                }
              ]
            },
            {
              "html": "5 hours ago",
              "text": "5 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47617376"
                }
              ]
            },
            {
              "html": "26 minutes ago",
              "text": "26 minutes ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47620933"
                }
              ]
            },
            {
              "html": "11 hours ago",
              "text": "11 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47613078"
                }
              ]
            },
            {
              "html": "13 hours ago",
              "text": "13 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47611921"
                }
              ]
            },
            {
              "html": "3 hours ago",
              "text": "3 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47575557"
                }
              ]
            },
            {
              "html": "7 hours ago",
              "text": "7 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615490"
                }
              ]
            },
            {
              "html": "3 hours ago",
              "text": "3 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47574851"
                }
              ]
            },
            {
              "html": "13 hours ago",
              "text": "13 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47611721"
                }
              ]
            },
            {
              "html": "9 hours ago",
              "text": "9 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47614100"
                }
              ]
            },
            {
              "html": "3 hours ago",
              "text": "3 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618581"
                }
              ]
            },
            {
              "html": "11 hours ago",
              "text": "11 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47612601"
                }
              ]
            },
            {
              "html": "2 hours ago",
              "text": "2 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615844"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618120"
                }
              ]
            },
            {
              "html": "7 hours ago",
              "text": "7 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615449"
                }
              ]
            }
          ],
          "key": "points"
        },
        {
          "selector": "tr.athing.submission .rank",
          "results": [
            {
              "html": "1.",
              "text": "1.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "2.",
              "text": "2.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "3.",
              "text": "3.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "4.",
              "text": "4.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "5.",
              "text": "5.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "6.",
              "text": "6.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "7.",
              "text": "7.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "8.",
              "text": "8.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "9.",
              "text": "9.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "10.",
              "text": "10.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "11.",
              "text": "11.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "12.",
              "text": "12.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "13.",
              "text": "13.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "14.",
              "text": "14.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "15.",
              "text": "15.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "16.",
              "text": "16.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "17.",
              "text": "17.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "18.",
              "text": "18.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "19.",
              "text": "19.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "20.",
              "text": "20.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "21.",
              "text": "21.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "22.",
              "text": "22.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "23.",
              "text": "23.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "24.",
              "text": "24.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "25.",
              "text": "25.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "26.",
              "text": "26.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "27.",
              "text": "27.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "28.",
              "text": "28.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "29.",
              "text": "29.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            },
            {
              "html": "30.",
              "text": "30.",
              "attributes": [
                {
                  "name": "class",
                  "value": "rank"
                }
              ]
            }
          ],
          "key": "points"
        },
        {
          "selector": "td.subtext .subline a[href^=\"item?id=\"]",
          "results": [
            {
              "html": "6 hours ago",
              "text": "6 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47616361"
                }
              ]
            },
            {
              "html": "301&nbsp;comments",
              "text": "301 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47616361"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618189"
                }
              ]
            },
            {
              "html": "115&nbsp;comments",
              "text": "115 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618189"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618084"
                }
              ]
            },
            {
              "html": "185&nbsp;comments",
              "text": "185 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618084"
                }
              ]
            },
            {
              "html": "2 hours ago",
              "text": "2 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47609356"
                }
              ]
            },
            {
              "html": "22&nbsp;comments",
              "text": "22 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47609356"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618176"
                }
              ]
            },
            {
              "html": "18&nbsp;comments",
              "text": "18 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618176"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47616242"
                }
              ]
            },
            {
              "html": "28&nbsp;comments",
              "text": "28 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47616242"
                }
              ]
            },
            {
              "html": "8 hours ago",
              "text": "8 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615002"
                }
              ]
            },
            {
              "html": "136&nbsp;comments",
              "text": "136 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615002"
                }
              ]
            },
            {
              "html": "5 hours ago",
              "text": "5 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47617415"
                }
              ]
            },
            {
              "html": "44&nbsp;comments",
              "text": "44 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47617415"
                }
              ]
            },
            {
              "html": "11 hours ago",
              "text": "11 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47612724"
                }
              ]
            },
            {
              "html": "94&nbsp;comments",
              "text": "94 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47612724"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618221"
                }
              ]
            },
            {
              "html": "32&nbsp;comments",
              "text": "32 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618221"
                }
              ]
            },
            {
              "html": "9 hours ago",
              "text": "9 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47613981"
                }
              ]
            },
            {
              "html": "660&nbsp;comments",
              "text": "660 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47613981"
                }
              ]
            },
            {
              "html": "5 hours ago",
              "text": "5 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47572288"
                }
              ]
            },
            {
              "html": "28&nbsp;comments",
              "text": "28 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47572288"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47562762"
                }
              ]
            },
            {
              "html": "15&nbsp;comments",
              "text": "15 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47562762"
                }
              ]
            },
            {
              "html": "18 minutes ago",
              "text": "18 minutes ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47621023"
                }
              ]
            },
            {
              "html": "1&nbsp;comment",
              "text": "1 comment",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47621023"
                }
              ]
            },
            {
              "html": "1 hour ago",
              "text": "1 hour ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47592614"
                }
              ]
            },
            {
              "html": "discuss",
              "text": "discuss",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47592614"
                }
              ]
            },
            {
              "html": "5 hours ago",
              "text": "5 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47617376"
                }
              ]
            },
            {
              "html": "98&nbsp;comments",
              "text": "98 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47617376"
                }
              ]
            },
            {
              "html": "26 minutes ago",
              "text": "26 minutes ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47620933"
                }
              ]
            },
            {
              "html": "discuss",
              "text": "discuss",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47620933"
                }
              ]
            },
            {
              "html": "11 hours ago",
              "text": "11 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47613078"
                }
              ]
            },
            {
              "html": "108&nbsp;comments",
              "text": "108 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47613078"
                }
              ]
            },
            {
              "html": "13 hours ago",
              "text": "13 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47611921"
                }
              ]
            },
            {
              "html": "143&nbsp;comments",
              "text": "143 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47611921"
                }
              ]
            },
            {
              "html": "3 hours ago",
              "text": "3 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47575557"
                }
              ]
            },
            {
              "html": "15&nbsp;comments",
              "text": "15 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47575557"
                }
              ]
            },
            {
              "html": "7 hours ago",
              "text": "7 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615490"
                }
              ]
            },
            {
              "html": "207&nbsp;comments",
              "text": "207 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615490"
                }
              ]
            },
            {
              "html": "3 hours ago",
              "text": "3 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47574851"
                }
              ]
            },
            {
              "html": "4&nbsp;comments",
              "text": "4 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47574851"
                }
              ]
            },
            {
              "html": "13 hours ago",
              "text": "13 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47611721"
                }
              ]
            },
            {
              "html": "166&nbsp;comments",
              "text": "166 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47611721"
                }
              ]
            },
            {
              "html": "9 hours ago",
              "text": "9 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47614100"
                }
              ]
            },
            {
              "html": "71&nbsp;comments",
              "text": "71 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47614100"
                }
              ]
            },
            {
              "html": "3 hours ago",
              "text": "3 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618581"
                }
              ]
            },
            {
              "html": "49&nbsp;comments",
              "text": "49 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618581"
                }
              ]
            },
            {
              "html": "11 hours ago",
              "text": "11 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47612601"
                }
              ]
            },
            {
              "html": "371&nbsp;comments",
              "text": "371 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47612601"
                }
              ]
            },
            {
              "html": "2 hours ago",
              "text": "2 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615844"
                }
              ]
            },
            {
              "html": "6&nbsp;comments",
              "text": "6 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615844"
                }
              ]
            },
            {
              "html": "4 hours ago",
              "text": "4 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618120"
                }
              ]
            },
            {
              "html": "7&nbsp;comments",
              "text": "7 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47618120"
                }
              ]
            },
            {
              "html": "7 hours ago",
              "text": "7 hours ago",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615449"
                }
              ]
            },
            {
              "html": "135&nbsp;comments",
              "text": "135 comments",
              "attributes": [
                {
                  "name": "href",
                  "value": "item?id=47615449"
                }
              ]
            }
          ],
          "key": "points"
        }
      ],
      "meta": {
        "title": "Hacker News"
      }
    }
  },
  "response": {
    "id": "interfaze-1775170222254",
    "modelId": "interfaze-beta",
    "body": {
      "id": "interfaze-1775170222254",
      "object": "chat.completion",
      "model": "interfaze-beta",
      "usage": {
        "prompt_tokens": 11498,
        "completion_tokens": 6712,
        "total_tokens": 18210
      }
    }
  },
  "finishReason": "stop",
  "usage": {
    "inputTokens": 11498,
    "outputTokens": 6712,
    "totalTokens": 18210
  }
}