81trust / 100

Fertilizer Map

by agri.halowerk.com in Weather & location

x402 APIPassing, checked 4 h ago

For each field cell, subtracts measured available nutrient from a supplied target and divides positive deficits by an explicit recovery fraction. It reports per-hectare rates and area totals. It does not infer crop targets, validate laboratory samples, account for nutrient chemistry or constitute an agronomic application prescription.

POST https://agri.halowerk.com/v1/fertilizer-map

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
112 ms typical, 112 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agri.halowerk.com/v1/fertilizer-map" \
  -H "content-type: application/json" \
  -d '{"cells":[{"area_hectares":2.5,"available_kg_per_ha":{"nitrogen":55,"phosphorus":21,"potassium":92},"cell_id":"north-01","target_kg_per_ha":{"nitrogen":90,"phosphorus":30,"potassium":110}},{"area_hectares":1.8,"available_kg_per_ha":{"nitrogen":76,"phosphorus":33,"potassium":105},"cell_id":"north-02","target_kg_per_ha":{"nitrogen":90,"phosphorus":30,"potassium":110}}],"maximum_rate_kg_per_ha":{"nitrogen":80,"phosphorus":40,"potassium":60},"recovery_fraction":{"nitrogen":0.65,"phosphorus":0.35,"potassium":0.75}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagri.halowerk.com%2Fv1%2Ffertilizer-map
const res = await pay("https://agri.halowerk.com/v1/fertilizer-map", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cells":[{"area_hectares":2.5,"available_kg_per_ha":{"nitrogen":55,"phosphorus":21,"potassium":92},"cell_id":"north-01","target_kg_per_ha":{"nitrogen":90,"phosphorus":30,"potassium":110}},{"area_hectares":1.8,"available_kg_per_ha":{"nitrogen":76,"phosphorus":33,"potassium":105},"cell_id":"north-02","target_kg_per_ha":{"nitrogen":90,"phosphorus":30,"potassium":110}}],"maximum_rate_kg_per_ha":{"nitrogen":80,"phosphorus":40,"potassium":60},"recovery_fraction":{"nitrogen":0.65,"phosphorus":0.35,"potassium":0.75}}),
});
console.log(await res.json());

Example input

{
  "cells": [
    {
      "area_hectares": 2.5,
      "available_kg_per_ha": {
        "nitrogen": 55,
        "phosphorus": 21,
        "potassium": 92
      },
      "cell_id": "north-01",
      "target_kg_per_ha": {
        "nitrogen": 90,
        "phosphorus": 30,
        "potassium": 110
      }
    },
    {
      "area_hectares": 1.8,
      "available_kg_per_ha": {
        "nitrogen": 76,
        "phosphorus": 33,
        "potassium": 105
      },
      "cell_id": "north-02",
      "target_kg_per_ha": {
        "nitrogen": 90,
        "phosphorus": 30,
        "potassium": 110
      }
    }
  ],
  "maximum_rate_kg_per_ha": {
    "nitrogen": 80,
    "phosphorus": 40,
    "potassium": 60
  },
  "recovery_fraction": {
    "nitrogen": 0.65,
    "phosphorus": 0.35,
    "potassium": 0.75
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402112 ms$0.004