Skip to content
Fourohtwo

Will these two products work together, asked in plain language

api.compatify.io/v1/query

Will these two products work together, asked in plain language? Reads the device and the accessory out of a free-text question and resolves both against the catalogue. Returns the verdict with confidence, source, last-verified date and the products it read out of the question. Call when the user's question names the products in prose rather than by identifier.

BaseAnswering
POSThttps://api.compatify.io/v1/query

Uptime100% of 5 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.compatify.io/v1/query", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"Does the Apple silicone case fit the iPhone 17 Pro?"}),
});
console.log(await res.json());

Example input

{
  "query": "Does the Apple silicone case fit the iPhone 17 Pro?"
}

More from CompatifyProvider status

Will these two products work together, asked in plain language by Compatify · x402 API | Fourohtwo