DEV Community

Sugunah
Sugunah

Posted on

I described a dataset that didn't exist — Exa Websets V2 built and verified it

Notes on criteria design, enrichments, and the new usage pricing. Independent write-up; not affiliated with Exa. Based on Exa's official documentation, the V2 announcement, and the published API spec — where a hands-on claim would go, I've written the test you can run instead. Links to my free cheat sheet and starter pack are at the end.

Every list-building project I've seen fail, failed at the same step. Finding candidates is easy — a search engine and an afternoon will give you five hundred plausible companies. The expensive part is checking: does this company actually do the thing, in the place, at the scale your brief requires? That's the step Exa Websets is built around, and V2 just changed its speed and pricing model. Here's how the system works, and the design skills that decide whether it works well.

The shape of a webset

A webset is a persistent collection built from a description:

  • A query — a plain-language set description: subject + defining properties + publicly visible evidence + scope. Not keywords.
  • A count — the target number of items. A target, not a guarantee: if the web holds fewer entities that pass, you get fewer.
  • Criteria — 1 to 5 rules, each a single checkable statement. Every returned item must satisfy all of them.
  • Enrichments — extra columns computed per verified item, in typed formats: text, date, number, options (multiple choice), email, phone, url.

You create the webset (dashboard, or one API call), and the work runs asynchronously server-side. Items stream in as candidates are found, verified, and enriched; small websets finish in minutes, while 1,000+ item requests scan a much bigger candidate pool and take significantly longer. You collect results in the dashboard, by polling the API, or via webhooks (webset.item.created, webset.item.enriched, webset.idle).

Verification is the product

For each candidate, Websets evaluates every criterion and records the verdict with reasoning and references on the item. That audit trail is what separates a webset from an LLM-generated spreadsheet: when a row looks wrong, you can read why it was admitted and check the source yourself.

Which means the quality lever is criteria design. The rules that worked, reading the docs and the API shape carefully:

  1. Atomic — one checkable fact per criterion. "Founded after 2020 AND Berlin-based AND has a live product" is three criteria; split them so failures are diagnosable.
  2. Evidence-anchored — phrase criteria so a public source can settle them: "lists a wholesale program on its own website," not "is B2B-focused."
  3. Dated — "since January 2025," never "recently."

And the workflow rule that follows: pilot at 10–25 items, read every evaluation, fix the leaking criterion, then scale. Never hand-edit rows — it teaches the system nothing and doesn't scale.

The test worth running on your own query (the starter pack below walks through it): hand-write 15–30 entities you know belong in your set, plus 3–5 near-misses that must be excluded. Run a pilot and measure found/missed, near-misses admitted, and duplicates. That's your personal benchmark — more useful than any vendor number, including Exa's own published evaluation (February 2025, 200 complex-criteria queries, GPT-4o grading, with asymmetric result caps between systems — conditions worth knowing before quoting its headline).

The API in one screen

import os
from exa_py import Exa
from exa_py.websets.types import CreateWebsetParameters, CreateEnrichmentParameters

exa = Exa(os.getenv("EXA_API_KEY"))

webset = exa.websets.create(params=CreateWebsetParameters(
    search={
        "query": "University labs working on solid-state batteries for electric vehicles, with a named faculty lead",
        "count": 25,
        "criteria": [
            {"description": "The lab's research focus includes solid-state batteries"},
            {"description": "The lab has published on the topic since January 2023"},
        ],
    },
    enrichments=[
        CreateEnrichmentParameters(description="Lab official website", format="url"),
        CreateEnrichmentParameters(description="Faculty lead of the lab", format="text"),
    ],
))
webset = exa.websets.wait_until_idle(webset.id)
items = exa.websets.items.list(webset_id=webset.id)
Enter fullscreen mode Exit fullscreen mode

Three habits from the API guide worth stealing even for dashboard use: preview before big runs (POST /v0/websets/preview shows how your query decomposes), always set an externalId (reusing one returns 409 — that's the dedupe mechanism), and store webhook secrets immediately (they're shown exactly once). Items paginate at up to 100 per page — follow nextCursor or you'll silently export a fraction of your set.

Already have a list? Imports turn a CSV of URLs (company homepages; LinkedIn profile URLs for people) into a webset you can enrich and filter, and searches can exclude or scope to other websets — that's how you stop re-discovering your own customers.

What V2 changed (per Exa's announcement)

Exa reports V2 builds datasets 4x faster at roughly half the cost per match, with accuracy and recall improved (their headline: 20% more matches found on average). Those are the vendor's figures from the launch post — treat them as a claim to test with the gold-standard method above, not as a spec.

The structural changes are verifiable and, to me, more interesting:

  • No monthly subscription required. Usage draws from your existing Exa credits.
  • Usage-based pricing: Agent Compute Units at $0.10/ACU (the compute that interprets your query, verifies candidates, and fills enrichment columns) plus $5 per 1,000 searches. Contact enrichment adds $0.02 per email / $0.07 per phone found. Exa's worked example: 3 ACUs + 250 searches = $1.55 for a 50-match job (~$0.031/match for that job — hard matches cost more, which is the honest trade of usage pricing vs. the legacy flat 10 credits per match).
  • API access open to all users on the usage plan.

One honest positioning note, because Exa states it themselves: the current Websets quickstart suggests Exa Agent for brand-new list-building workflows (Agent Ultra for large or exhaustive lists), positioning the Websets docs for maintaining and extending existing integrations. Websets remains documented, priced, and fully usable — but you should know the vendor's own signpost exists before you build on either surface.

The compliance paragraph nobody should skip

Websets builds from publicly available web data. That is not a blank check. No data behind logins, no terms-of-service evasion, no bulk harvesting of personal data, no targeting by sensitive characteristics — and a verified list is not consent to outreach; the lawfulness of contacting anyone on it is a separate question your sending tool and your jurisdiction decide. Company-level data by default; person-level data only for public professional roles, with a purpose you can state in one sentence. The starter pack below has a full section on this, because a list you can't lawfully use is worth nothing.


Free: I condensed the workflow, all 7 enrichment formats, the V2 pricing table, and the 6 rules into a one-page cheat sheet: https://payhip.com/b/YHdj4

Full starter pack: an 18-section tutorial, 12 copy-paste prompts, and 3 workflow worksheets (dataset specification, pilot audit, delivery log): https://payhip.com/b/iwJHW

Disclosure: the pack is my own independent product, sold on Payhip. The cheat sheet is free and covers the essentials.

Top comments (0)