Skip to the content

Used-Car Arbitrage

Copart lots selling well below what the same make, model and year fetch at retail near you, ranked by the spread, with bid moves.

Searches Copart's US lots of the make, models and years you buy, and the lots you watch, keeps those that fit your rules (yard states, mileage, title, runs and drives, damage), and prices each against retail listings of the same make, model and model year near your ZIP code on CarGurus and AutoTrader: the median asking price of the cars with a mileage close to the lot's (a lot with too few such cars is left out, unless you choose to price it on every mileage). Cars that can never be titled for the road again are left out too. The spread is that median less the lot's buy-it-now price, or its current bid when it has none. A bid made before the sale is not the price the lot will sell for, so lots with a buy-it-now price come first, then lots whose bid is already a fair share of the retail median, and lots with an early, small bid last; lots selling today or bid under $1,000 are left out unless you ask for them. It compares like with like by make, model, year and mileage; it is not a valuation of the lot's VIN, and repair costs, damage and title are yours to judge. A saved playbook reports new lots and lots whose bid, buy-it-now price or sale date changed, with the bid before.

A playbook is a search you would otherwise run by hand, done for you. Answer 4 questions and get one clean list; run it once, or keep it running daily. The first 1,000 units each month are free.

For
Used car dealer, Car flipper and more
Runs
Once, hourly, daily and weekdays
A run
about 31 units
Stops at
200 units, or your cap
Rows
up to 2,000
Contacts
not needed

You ask

Make
Toyota
Models
Camry, Corolla, RAV4
Model years
2,018 to 2,022
Your ZIP code
77073

What it did

  1. Searched Copart, CarGurus and Autotrader
  2. duplicates removed
  3. compared with the last run
  4. 20rows, best first

It brings back20 rows, best first

  1. 2021 TOYOTA RAV4 XLE PREMIUMTitle: SALVAGE TITLEPrice used: Buy-it-now priceLot: 71694496
  2. 2021 TOYOTA CAMRY SETitle: CLEAN TITLEPrice used: Buy-it-now priceLot: 71503786
  3. 2022 TOYOTA CAMRY SETitle: SALVAGE TITLEPrice used: Buy-it-now priceLot: 69410516
  4. 2022 TOYOTA COROLLA LETitle: SALVAGE TITLEPrice used: Buy-it-now priceLot: 70024996
  5. 2018 TOYOTA RAV4 XLETitle: SALVAGE TITLEPrice used: Buy-it-now priceLot: 70642796

Rows from a run on 2026-11-24.

All 20 rowsRun this playbook

Rows from a run on 2026-11-24, with the answers shown. 5 of its rows are here, best first; all 20 are below.

The rows

20 rows from a real run, as it wrote them, best first. 12 more columns are there when you ask for them.

VehicleLotMilesDamageTitleConditionCurrent bid (before the sale)Buy it nowRetail medianSpread at today's priceSpread (%)Price usedComparablesCompared onAuctionYardChangeBid beforeLot page
2021 TOYOTA RAV4 XLE PREMIUM7169449654,714FRONT ENDSALVAGE TITLEENHANCED VEHICLES09,20025,50016,30063.9Buy-it-now price24Similar mileage2026-11-25T15:00:00ZWEST MIFFLIN, PANew–copart.com/lot/71694496/salvage-2021-toyota-rav4-xle-premium-pa-pittsburgh-west
2021 TOYOTA CAMRY SE7150378660,914FRONT ENDCLEAN TITLEENHANCED VEHICLES7,2007,50022,76515,26567.1Buy-it-now price15Similar mileage2026-11-25T02:00:00ZCOLUMBUS, OHNew–copart.com/lot/71503786/clean-title-2021-toyota-camry-se-oh-columbus
2022 TOYOTA CAMRY SE6941051691,470REAR ENDSALVAGE TITLERUNS AND DRIVES06,80021,49514,69568.4Buy-it-now price15Similar mileage2026-11-25T15:00:00ZWEST MIFFLIN, PANew–copart.com/lot/69410516/salvage-2022-toyota-camry-se-pa-pittsburgh-west
2022 TOYOTA COROLLA LE7002499637,113SIDESALVAGE TITLERUNS AND DRIVES2254,50018,98614,48676.3Buy-it-now price12Similar mileage2026-11-25T15:00:00ZFREDERICKSBURG, VANew–copart.com/lot/70024996/salvage-2022-toyota-corolla-le-va-fredericksburg
2018 TOYOTA RAV4 XLE7064279644,185FRONT ENDSALVAGE TITLERUNS AND DRIVES1,1007,90021,71613,81663.6Buy-it-now price8Similar mileage2026-11-25T15:00:00ZJACKSONVILLE, FLNew–copart.com/lot/70642796/salvage-2018-toyota-rav4-xle-fl-jacksonville-north
2018 TOYOTA CAMRY SE7021480697,785FRONT ENDCLEAN TITLEENHANCED VEHICLES2,6005,00017,09812,09870.8Buy-it-now price12Similar mileage2026-11-25T15:00:00ZEAST GRANBY, CTNew–copart.com/lot/70214806/clean-title-2018-toyota-camry-se-ct-hartford-springfield
2022 TOYOTA COROLLA LE7141792628,586REAR ENDSALVAGE TITLERUNS AND DRIVES8509,20019,37910,17952.5Buy-it-now price9Similar mileage2026-11-25T15:00:00ZCONCORD, NCNew–copart.com/lot/71417926/salvage-2022-toyota-corolla-le-nc-concord
2020 TOYOTA CAMRY SE NIGHTSHADE70169486139,478MINOR DENT/SCRATCHESCLEAN TITLEENGINE START PROGRAM6,0007,70015,8208,12051.3Buy-it-now price11Similar mileage2026-11-25T15:00:00ZHARLEYVILLE, SCNew–copart.com/lot/70169486/clean-title-2020-toyota-camry-se-nightshade-sc-north-charleston
2019 TOYOTA RAV4 LE70372356143,833MINOR DENT/SCRATCHESCLEAN TITLERUNS AND DRIVES8,00010,50017,9957,49541.7Buy-it-now price11Similar mileage2026-11-25T15:00:00ZAPOPKA, FLNew–copart.com/lot/70372356/clean-title-2019-toyota-rav4-le-fl-orlando-north
2022 TOYOTA COROLLA LE76099876128,996NORMAL WEARCLEAN TITLERUNS AND DRIVES7,9008,20014,2006,00042.3Buy-it-now price4Similar mileage2026-11-25T02:00:00ZNORTH BILLERICA, MANew–copart.com/lot/76099876/clean-title-2022-toyota-corolla-le-ma-north-boston
2022 TOYOTA CAMRY SE7544480652,441MINOR DENT/SCRATCHESCLEAN TITLERUNS AND DRIVES12,40017,50023,2445,74424.7Buy-it-now price18Similar mileage2026-11-25T02:00:00ZHILLSBOROUGH, NJNew–copart.com/lot/75444806/clean-title-2022-toyota-camry-se-nj-somerville
2019 TOYOTA RAV4 XLE PREMIUM74737436134,179MECHANICALCLEAN TITLEENGINE START PROGRAM12,50012,70017,9955,29529.4Buy-it-now price11Similar mileage2026-11-25T02:00:00ZBROOKHAVEN, NYNew–copart.com/lot/74737436/clean-title-2019-toyota-rav4-xle-premium-ny-long-island
2020 TOYOTA RAV4 XLE PREMIUM7577141622,348REAR ENDSALVAGE TITLERUNS AND DRIVES7,200–26,38019,18072.7Current bid; the sale price may be higher6Similar mileage2026-11-25T15:00:00ZLOGANVILLE, GANew–copart.com/lot/75771416/salvage-2020-toyota-rav4-xle-premium-ga-atlanta-east
2019 TOYOTA RAV4 LE73575416152,101FRONT ENDSALVAGE TITLEENGINE START PROGRAM6,200–17,24611,04664.1Current bid; the sale price may be higher6Similar mileage2026-11-25T02:00:00ZANDERSON, CANew–copart.com/lot/73575416/salvage-2019-toyota-rav4-le-ca-redding
2019 TOYOTA CAMRY XSE V674259176133,429FRONT ENDCLEAN TITLERUNS AND DRIVES6,100–14,9958,89559.3Current bid; the sale price may be higher11Similar mileage2026-11-25T02:00:00ZMAGNA, UTNew–copart.com/lot/74259176/clean-title-2019-toyota-camry-xse-v6-ut-salt-lake-city
2018 TOYOTA CAMRY XSE77656436160,740MINOR DENT/SCRATCHESCLEAN TITLERUNS AND DRIVES6,200–12,9956,79552.3Current bid; the sale price may be higher8Similar mileage2026-11-25T02:00:00ZHOUSTON, TXNew–copart.com/lot/77656436/clean-title-2018-toyota-camry-xse-tx-houston
2020 TOYOTA RAV4 XLE PREMIUM7454060652,269SIDESALVAGE TITLERUNS AND DRIVES3,250–25,24621,99687.1Early bid; the sale price will likely be much higher12Similar mileage2026-11-25T15:00:00ZSPARTANBURG, SCNew–copart.com/lot/74540606/salvage-2020-toyota-rav4-xle-premium-sc-spartanburg
2021 TOYOTA RAV4 LE7476395653,450FRONT ENDSALVAGE TITLERUNS AND DRIVES5,800–25,50019,70077.3Early bid; the sale price will likely be much higher23Similar mileage2026-11-25T15:00:00ZWINDSOR, NJNew–copart.com/lot/74763956/salvage-2021-toyota-rav4-le-nj-trenton
2019 TOYOTA RAV4 LE7409549681,620SIDECLEAN TITLERUNS AND DRIVES3,250–21,08117,83184.6Early bid; the sale price will likely be much higher18Similar mileage2026-11-25T15:00:00ZWAYLAND, MINew–copart.com/lot/74095496/clean-title-2019-toyota-rav4-le-mi-wayland
2018 TOYOTA CAMRY XLE V67070063654,096FRONT ENDSALVAGE TITLERUNS AND DRIVES1,950–17,99716,04789.2Early bid; the sale price will likely be much higher4Similar mileage2026-11-25T15:00:00ZWINDSOR, NJNew–copart.com/lot/70700636/salvage-2018-toyota-camry-xle-v6-nj-trenton

Rows from a run on 2026-11-24. A value the sources did not give is left empty, never guessed.

What it asks

4 questions to start, and the rest only if you want them: every other answer has a default. The ones that change what a run costs are marked.

Basics

What it asks first. A run needs only these.

Makemake
The make, such as Toyota or Ford.string · requiredIn the run above:Toyota
Modelsmodels
The models of that make, named as Copart names them, such as Camry or RAV4.a list of strings · required · up to 10changes the costIn the run above:CamryCorollaRAV4
Model yearsyears
The model years to search. Each year of each model is one search for retail comparables.objectdefault 2,018 to 2,022changes the costIn the run above:2,018 to 2,022
Your ZIP codezip
Where you would sell the cars. Retail comparables are the listings around it.string · requiredIn the run above:77073

Filters

What narrows the list. Each has a default.

Lots to watchwatch_lots
Copart lot numbers or lot pages you follow, read on every run whether or not a search finds them.a list of strings · up to 50default nonechanges the cost
Yard statesstates
Two-letter codes of the states whose yards you buy from, such as TX. Leave empty for all.a list of strings · up to 60default none
Most milesmax_odometer
Lots with more miles on the odometer are left out. 0 for any mileage.integer · 0 to 500,000default 0
Leave out titlesexclude_titles
Words of the titles to leave out. By default the cars that can never be titled for the road again, which no retail price fits.a list of strings · up to 20default NON-REPAIRABLE, DESTRUCTION, SCRAP, JUNK, PARTS ONLY
Clean titles onlyclean_title_only
Leaves out salvage and other branded titles.booleandefault No
Runs and drives onlyruns_and_drives_only
Keeps the lots Copart marks as running and driving.booleandefault No
Leave out damageexclude_damage
Words of the main damage to leave out, such as FLOOD, BURN or ALL OVER.a list of strings · up to 20default none
Least current bid ($)min_bid
Leaves out lots whose bidding has barely begun, whose spread on a first small bid says little. A lot with a buy-it-now price is kept. 0 keeps every lot.integer · 0 to 100,000default 1,000
A bid that counts (% of retail)serious_bid_pct
A lot whose current bid is under this share of its retail median ranks after the others, since bidding usually goes well past it. A buy-it-now price always counts.integer · 0 to 90default 25
Include lots selling todayinclude_sale_day
Lots whose sale is on the day of the run, which may be over when the rows arrive. Days are whole calendar days (UTC). A lot you watch is kept on its sale day.booleandefault No
Lots read per modellots_per_model
How many of Copart's lots to read for each model, the soonest sales first.integer · one of 20, 50, 100default 100
Least spread ($)min_spread
Lots whose retail median is less than this above their price are left out.integer · 0 to 100,000default 2,000

Enrichment

What is added to each row.

Retail comparables fromcomp_sources
The sites whose dealer listings price each lot. A car listed on both counts once.a list of strings · one of cargurus, autotraderdefault cargurus, autotraderchanges the cost
Comparables within (miles)radius
How far from your ZIP code a retail listing may be.integer · one of 25, 50, 75, 100, 200, 500default 100
Similar mileage (miles either way)mileage_band
Comparables within this many miles of the lot's odometer are preferred. 0 compares every mileage.integer · 0 to 100,000default 30,000
Price on any mileage when few are similarany_mileage_fallback
When too few comparables have a similar mileage, price the lot on every mileage instead of leaving it out. A lot with far more miles than most listings then looks better than it is.booleandefault No
Least comparablesmin_comps
A lot priced on fewer retail listings than this is left out.integer · 1 to 20default 3
Comparables searchescomp_searches
The most retail searches for each site, one for each make, model and year found.integer · 1 to 100default 40changes the cost

Output

How many rows, and when one may come back.

Most rowsmax_results
The run stops at this many lots, widest spread first.integer · 1 to 2,000default 200changes the cost

Or start from a preset

  • Toyota Camry, Corolla and RAV4 (Houston)

    Make: Toyota · Models: Camry, Corolla, RAV4 · Your ZIP code: 77073

  • Honda Civic, Accord and CR-V (Atlanta)

    Make: Honda · Models: Civic, Accord, CR-V · Your ZIP code: 30303

  • Clean titles that run and drive

    Clean titles only: Yes · Runs and drives only: Yes · Leave out damage: FLOOD, BURN, ALL OVER

  • Texas yards

    Yard states: TX

  • Today's sales too, every bid

    Include lots selling today: Yes · Least current bid ($): 0

  • Under 80,000 miles, close mileage comparables

    Most miles: 80,000 · Similar mileage (miles either way): 20,000

What a row holds

31 columns, the same in every row. Each row is scored, and the list comes best first. 19 are shown at first; the other 12 are a choice away, in the console and in every export.

Rows come as JSON, as NDJSON with a row a line, or as CSV, and are kept for 90 days.

Vehicle
vehicle string
shown
Lot
lot_number string
shown
Year
year integer
on request
Model
model string
on request
Trim
trim string
on request
Miles
odometer number
shown
Odometer
odometer_status string
on request
Damage
damage string
shown
Other damage
secondary_damage string
on request
Title
title string
shown
Condition
condition string
shown
Keys
has_keys boolean
on request
Current bid (before the sale)
current_bid number
shown
Buy it now
buy_it_now number
shown
Retail median
retail_median number
shown
Spread at today's price
spread number
shown
Spread (%)
spread_pct number
shown
Price used
priced_on string
shown
Comparables
comparables integer
shown
Compared on
comparables_basis string
shown
Lowest retail
retail_low number
on request
Highest retail
retail_high number
on request
Copart's retail estimate
copart_estimate number
on request
Sale
sale_status string
on request
Auction
auction_date datetime
shown
Yard
yard string
shown
Change
change string
shown
Bid before
bid_before number
shown
VIN (partly hidden)
vin string
on request
Lot page
link url
shown
Score
score number
on request

What a run costs

The units of the work it does: each search and each page it reads, at that scraper’s own rate. Nothing is added for the playbook.

With the answers of the run above

about 31 units

31 searches across 3 sources. At most 83: a run stops at its cap, keeps the rows it has, and ends partial.

Toyota Camry, Corolla and RAV4 (Houston)
about 31
Honda Civic, Accord and CR-V (Atlanta)
about 31

An estimate, made as the API makes one before a run. Your own runs make the next estimate closer.

  • A preview is the first 10 rows, charged at what they cost: about 31 units with the answers of the run above. You see what a run gives before you spend on all of it.
  • A search or a page that fails is not charged, as with any scraper run.

How units are charged

Each scraper it can call, at its own rate

Find
Copart search
1 unit a run
Find
Copart lot
1 unit a run
Find
CarGurus search
1 unit a run
Find
Autotrader search
1 unit a run

Which of them a run calls depends on your answers: a job board you leave out is not searched.

Who it is for

Use when a car dealer or flipper wants Copart lots that sell well below retail for the same car, and to hear when bids move.

  • Used car dealer
  • Car flipper
  • Auto wholesaler
  • Rebuilder
Run it
Once, hourly, daily and weekdays. Kept running on a schedule, it delivers only rows it has not delivered before.
Its sources
Public pages only: what a site shows every visitor. Nothing behind a sign-in.

The same playbook, by API

One call starts a run with your answers and a cap on what it may spend; another reads its rows, best first, as they are written. Put your key in the variable it reads.

In the API a playbook is a formula: its paths and calls use that word.

GET/v1/formulas/used-car-arbitrage
What it asks, its columns and its sample rows. No key needed.
POST/v1/formulas/used-car-arbitrage/estimate
What a run would cost. Free.
POST/v1/formulas/used-car-arbitrage/runs
Start a run, or a preview.
GET/v1/formula-runs/{id}/rows
Its rows, as JSON, NDJSON or CSV.

The OpenAPI documentEvery way in

# Start the run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/formulas/used-car-arbitrage/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"make":"Toyota","models":["Camry","Corolla","RAV4"],"zip":"77073","years":{"min":2018,"max":2022},"watch_lots":[],"states":[],"max_odometer":0,"exclude_titles":["NON-REPAIRABLE","DESTRUCTION","SCRAP","JUNK","PARTS ONLY"],"clean_title_only":false,"runs_and_drives_only":false,"exclude_damage":[],"min_bid":1000,"serious_bid_pct":25,"include_sale_day":false,"lots_per_model":100,"min_spread":2000,"comp_sources":["cargurus","autotrader"],"radius":100,"mileage_band":30000,"any_mileage_fallback":false,"min_comps":3,"comp_searches":40,"max_results":200},"unit_cap":200}'

# Follow it until it ends, then read its rows, with the id the first call answered
curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID/rows?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start the run, wait for it to end, and get its rows
params = {
    "make": "Toyota",
    "models": ["Camry", "Corolla", "RAV4"],
    "zip": "77073",
    "years": {"min": 2018, "max": 2022},
    "watch_lots": [],
    "states": [],
    "max_odometer": 0,
    "exclude_titles": [
        "NON-REPAIRABLE",
        "DESTRUCTION",
        "SCRAP",
        "JUNK",
        "PARTS ONLY",
    ],
    "clean_title_only": False,
    "runs_and_drives_only": False,
    "exclude_damage": [],
    "min_bid": 1000,
    "serious_bid_pct": 25,
    "include_sale_day": False,
    "lots_per_model": 100,
    "min_spread": 2000,
    "comp_sources": ["cargurus", "autotrader"],
    "radius": 100,
    "mileage_band": 30000,
    "any_mileage_fallback": False,
    "min_comps": 3,
    "comp_searches": 40,
    "max_results": 200,
}
result = client.run_formula("used-car-arbitrage", params, unit_cap=200)
print(result.run.id, result.run.status, result.run.rows_total, result.run.units_spent)

# Read its rows, best first: pages are fetched as you go
for row in result:
    print(row.data)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start the run, wait for it to end, and get its rows
const params = {
  make: "Toyota",
  models: ["Camry", "Corolla", "RAV4"],
  zip: "77073",
  years: { min: 2018, max: 2022 },
  watch_lots: [],
  states: [],
  max_odometer: 0,
  exclude_titles: [
    "NON-REPAIRABLE",
    "DESTRUCTION",
    "SCRAP",
    "JUNK",
    "PARTS ONLY",
  ],
  clean_title_only: false,
  runs_and_drives_only: false,
  exclude_damage: [],
  min_bid: 1000,
  serious_bid_pct: 25,
  include_sale_day: false,
  lots_per_model: 100,
  min_spread: 2000,
  comp_sources: ["cargurus", "autotrader"],
  radius: 100,
  mileage_band: 30000,
  any_mileage_fallback: false,
  min_comps: 3,
  comp_searches: 40,
  max_results: 200,
};
const { run, rows } = await client.runFormula("used-car-arbitrage", params, { unitCap: 200 });
console.log(run.id, run.status, run.rows_total, run.units_spent);

// Read its rows, best first: pages are fetched as you go
for await (const row of rows) console.log(row.data);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 30*time.Minute)
	defer cancel()

	// Start the run, wait for it to end, and get its rows
	params := map[string]any{"make": "Toyota", "models": []any{"Camry", "Corolla", "RAV4"}, "zip": "77073", "years": map[string]any{"min": 2018, "max": 2022}, "watch_lots": []any{}, "states": []any{}, "max_odometer": 0, "exclude_titles": []any{"NON-REPAIRABLE", "DESTRUCTION", "SCRAP", "JUNK", "PARTS ONLY"}, "clean_title_only": false, "runs_and_drives_only": false, "exclude_damage": []any{}, "min_bid": 1000, "serious_bid_pct": 25, "include_sale_day": false, "lots_per_model": 100, "min_spread": 2000, "comp_sources": []any{"cargurus", "autotrader"}, "radius": 100, "mileage_band": 30000, "any_mileage_fallback": false, "min_comps": 3, "comp_searches": 40, "max_results": 200}
	run, rows, err := client.RunFormula(ctx, "used-car-arbitrage", params, &enrichednow.RunFormulaParams{UnitCap: 200})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RowsTotal, run.UnitsSpent)

	// Read its rows, best first: pages are fetched as you go
	for rows.Next() {
		fmt.Println(string(rows.Current().Data))
	}
	if err := rows.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.fasterxml.jackson.databind.ObjectMapper;
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.FormulaResult;
import com.enrichednow.FormulaRunOptions;
import com.enrichednow.models.FormulaRow;
import java.util.Map;

public class Run {
    public static void main(String[] args) throws Exception {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start the run, wait for it to end, and get its rows
        FormulaResult result = client.runFormula("used-car-arbitrage", new ObjectMapper().readValue("{\"make\":\"Toyota\",\"models\":[\"Camry\",\"Corolla\",\"RAV4\"],\"zip\":\"77073\",\"years\":{\"min\":2018,\"max\":2022},\"watch_lots\":[],\"states\":[],\"max_odometer\":0,\"exclude_titles\":[\"NON-REPAIRABLE\",\"DESTRUCTION\",\"SCRAP\",\"JUNK\",\"PARTS ONLY\"],\"clean_title_only\":false,\"runs_and_drives_only\":false,\"exclude_damage\":[],\"min_bid\":1000,\"serious_bid_pct\":25,\"include_sale_day\":false,\"lots_per_model\":100,\"min_spread\":2000,\"comp_sources\":[\"cargurus\",\"autotrader\"],\"radius\":100,\"mileage_band\":30000,\"any_mileage_fallback\":false,\"min_comps\":3,\"comp_searches\":40,\"max_results\":200}", Map.class), FormulaRunOptions.builder().unitCap(200).build());
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().rowsTotal() + " " + result.run().unitsSpent());

        // Read its rows, best first: pages are fetched as you go
        for (FormulaRow row : result.rows()) {
            System.out.println(row.data());
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow formulas run used-car-arbitrage --params-json '{"make":"Toyota","models":["Camry","Corolla","RAV4"],"zip":"77073","years":{"min":2018,"max":2022},"watch_lots":[],"states":[],"max_odometer":0,"exclude_titles":["NON-REPAIRABLE","DESTRUCTION","SCRAP","JUNK","PARTS ONLY"],"clean_title_only":false,"runs_and_drives_only":false,"exclude_damage":[],"min_bid":1000,"serious_bid_pct":25,"include_sale_day":false,"lots_per_model":100,"min_spread":2000,"comp_sources":["cargurus","autotrader"],"radius":100,"mileage_band":30000,"any_mileage_fallback":false,"min_comps":3,"comp_searches":40,"max_results":200}' --unit-cap 200

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

{
  "name": "run_formula",
  "arguments": {
    "formula_id": "used-car-arbitrage",
    "params": {
      "make": "Toyota",
      "models": [
        "Camry",
        "Corolla",
        "RAV4"
      ],
      "zip": "77073",
      "years": {
        "min": 2018,
        "max": 2022
      },
      "watch_lots": [],
      "states": [],
      "max_odometer": 0,
      "exclude_titles": [
        "NON-REPAIRABLE",
        "DESTRUCTION",
        "SCRAP",
        "JUNK",
        "PARTS ONLY"
      ],
      "clean_title_only": false,
      "runs_and_drives_only": false,
      "exclude_damage": [],
      "min_bid": 1000,
      "serious_bid_pct": 25,
      "include_sale_day": false,
      "lots_per_model": 100,
      "min_spread": 2000,
      "comp_sources": [
        "cargurus",
        "autotrader"
      ],
      "radius": 100,
      "mileage_band": 30000,
      "any_mileage_fallback": false,
      "min_comps": 3,
      "comp_searches": 40,
      "max_results": 200
    },
    "preview": true
  }
}

Run it with your own answers.

Make an account and the console opens on this playbook. Preview it, run it, or keep it running daily. The first 1,000 units each month are free.