81trust / 100

Realtime Lens Data Ocr

by x402.openwebninja.com in Documents & files

x402 APIPassing, checked 5 h ago

GET https://x402.openwebninja.com/realtime-lens-data/ocr

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.openwebninja.com/realtime-lens-data/ocr?url=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fcourses-images%2Fwp-content%2Fuploads%2Fsites%2F1844%2F2017%2F06%2F15213029%2Fimages-textwrap-topbottom.png"
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%2Fx402.openwebninja.com%2Frealtime-lens-data%2Focr
const res = await pay("https://x402.openwebninja.com/realtime-lens-data/ocr?url=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fcourses-images%2Fwp-content%2Fuploads%2Fsites%2F1844%2F2017%2F06%2F15213029%2Fimages-textwrap-topbottom.png");
console.log(await res.json());

Example input

{
  "url": "https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1844/2017/06/15213029/images-textwrap-topbottom.png"
}

Example output

{}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402135 ms$0.003