M

MacroPulse · Input Cost

by MacroPulse

GETBaseSolanaArbitrumPolygonWorld ChainMonadX LayerHyperEVMAlgorandXRP LedgerBNB Chain

$0.08

per call · USD Coin on Base

Input cost intelligence for grower and farmer agents. Returns current fertilizer (N/P/K), seed, and crop-protection pricing with breakeven analysis, trend direction, and cost-reduction opportunities.

Endpoint

GET https://fieldpulse.theaslangroupllc.com/api/input-cost

2

Calls / 30d

1

Unique payers / 30d

Aug 20

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://fieldpulse.theaslangroupllc.com/api/input-cost", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://fieldpulse.theaslangroupllc.com/api/input-cost?crop=corn&lang=en&region=US+Corn+Belt+%28required%29" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "breakeven_price": "$4.20/bu CBOT (variable costs only)",
  "crop": "corn",
  "fertilizer_costs": {
    "key_driver": "Natural gas prices declining, increased US production",
    "nitrogen_urea_per_tonne": "$350-380 USD",
    "trend": "falling"
  },
  "region": "US Corn Belt",
  "total_variable_cost_estimate": {
    "per_acre": "$480-520 USD",
    "per_tonne_at_target_yield": "$130-145 USD at 11t/ha"
  }
}

Payment details

Pay to0x50ab2018c06c6e4eaa9ba52057eb55ed284912fc
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon, World Chain, Monad, X Layer, HyperEVM, Algorand, XRP Ledger, BNB Chain
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from MacroPulse & similar services