File size: 22,577 Bytes
0b94d87 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api.youraitools.co/stats/v1/listings/schema.json",
"title": "YourAITools third-party listing stats",
"description": "GET https://api.youraitools.co/stats/v1/listings lists every listing in https://youraitools.co/listings.json; GET https://api.youraitools.co/stats/v1/listings/<slug> (also https://api.youraitools.co/stats/v1/tools/<slug> for listing slugs) returns the same envelope with \"listing\". Every listed slug answers 200, with nulls and status not_yet_measured before its first check. Collected with one unpaid request per listing per day; no payment is ever made and no IPs or bodies are stored.",
"type": "object",
"required": [
"schema_version",
"schema",
"generated_at",
"source",
"index_fetched_at",
"count",
"notes"
],
"properties": {
"schema_version": {
"const": "1.0"
},
"schema": {
"type": "string",
"format": "uri"
},
"generated_at": {
"type": "string",
"format": "date-time"
},
"source": {
"const": "https://youraitools.co/listings.json"
},
"index_fetched_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"count": {
"type": "integer",
"minimum": 0
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"listings": {
"type": "array",
"items": {
"$ref": "#/$defs/listing"
}
},
"listing": {
"$ref": "#/$defs/listing"
}
},
"oneOf": [
{
"required": [
"listings"
]
},
{
"required": [
"listing"
]
}
],
"$defs": {
"listing": {
"type": "object",
"required": [
"slug",
"name",
"kind",
"listing_url",
"stats_url",
"protocol",
"probe_target",
"status",
"measuring_since",
"last_check",
"price",
"uptime",
"trust",
"probe_hold",
"daily",
"down_since",
"last_status_change",
"latency_ms_median",
"grade",
"score",
"grade_detail",
"price_history",
"price_history_since",
"last_valid_price",
"clicks_30d"
],
"properties": {
"slug": {
"type": "string",
"description": "Listing slug on youraitools.co (https://youraitools.co/tool/<slug>)."
},
"name": {
"type": "string"
},
"kind": {
"const": "listing"
},
"listing_url": {
"type": "string",
"format": "uri"
},
"stats_url": {
"type": "string",
"format": "uri"
},
"protocol": {
"type": "string",
"description": "Payment protocol as listed."
},
"probe_target": {
"type": [
"object",
"null"
],
"description": "What is probed: the listing's example endpoint, with the listing's endpointMethod (else the method its verification text documents, else GET). A POST sends the listing's exampleBody as application/json when it has one, else no body. null = no example endpoint, never probed.",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"method": {
"enum": [
"GET",
"POST"
]
},
"body": {
"type": [
"string",
"null"
],
"description": "The JSON body a POST probe sends (the listing's exampleBody); null = no body."
}
}
},
"status": {
"enum": [
"up",
"down",
"stale",
"not_yet_measured",
"no_probe_target",
"opted_out"
],
"description": "opted_out = the operator asked us to stop probing (no measurements shown). Otherwise from the latest check. up = an HTTP answer below 500 that is not 404/410 within 8 s; down = timeout, network error, 5xx, 404 or 410; stale = no check in 3 days."
},
"measuring_since": {
"type": [
"string",
"null"
],
"format": "date",
"description": "UTC date of the first check; null before it."
},
"last_check": {
"type": [
"object",
"null"
],
"description": "The latest daily check; null before the first.",
"properties": {
"at": {
"type": "string",
"format": "date-time",
"description": "Last check time."
},
"http_status": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "HTTP status (redirects are not followed); null on timeout/network error."
},
"valid_x402": {
"type": "boolean",
"description": "HTTP 402 with x402 payment terms (v2 PAYMENT-REQUIRED header or v1 JSON body) naming scheme, network, payTo and an amount."
},
"x402_version": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"latency_ms": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Time to response headers, ms."
},
"error": {
"type": [
"string",
"null"
],
"enum": [
"timeout",
"network",
"no_probe_target",
null
]
}
}
},
"price": {
"type": "object",
"required": [
"listed",
"listed_usd_range",
"mode",
"seen",
"seen_usd",
"price_seen_at_probe_time"
],
"description": "The listed price, and the price read from the 402 only when one of its payment options (any network) falls inside the listed range.",
"properties": {
"listed": {
"type": [
"string",
"null"
]
},
"listed_usd_range": {
"type": [
"object",
"null"
],
"description": "Every $ figure in the listed price, min to max. A single figure after \"from\" / \"starting at\" / \"minimum\" is a floor (max null); after \"up to\" a ceiling (min 0).",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": [
"number",
"null"
]
}
}
},
"mode": {
"enum": [
"fixed",
"dynamic",
"prepaid"
],
"description": "prepaid = a top-up / prepaid credit route whose amount the caller chooses (not a per-call price, never compared); dynamic = a range, from / varies / tier / usage wording, or an upto offer (compared against the listed range only); fixed = one listed price."
},
"seen": {
"type": [
"object",
"null"
],
"description": "The payment option from the latest 402 that falls inside listed_usd_range (the Base option when it does, else the first one that does; every option is compared). null when none does or the price is not comparable (prepaid, no listed figure, no USDC option). options = how many options the 402 offered.",
"properties": {
"amount_atomic": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"usd": {
"type": [
"number",
"null"
]
},
"options": {
"type": "integer",
"minimum": 0
}
}
},
"seen_usd": {
"type": [
"number",
"null"
],
"description": "USDC (6 decimals) amount of seen; null whenever seen is null."
},
"price_seen_at_probe_time": {
"type": [
"object",
"null"
],
"description": "Price seen at probe time when it is outside the listed range. Only after a manual recheck by YourAITools and only when every check for 3+ days saw it; null otherwise (the default).",
"properties": {
"usd": {
"type": "number"
},
"amount_atomic": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"observed_since": {
"type": "string",
"format": "date"
}
}
}
}
},
"uptime": {
"type": "object",
"required": [
"7d",
"30d"
],
"properties": {
"7d": {
"type": "object",
"required": [
"checks",
"up",
"uptime_pct",
"valid_x402_pct"
],
"properties": {
"checks": {
"type": "integer",
"minimum": 0,
"description": "Daily checks in the window (one per listing per day)."
},
"up": {
"type": "integer",
"minimum": 0,
"description": "Checks where the listing was up."
},
"uptime_pct": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100,
"description": "up / checks in percent, 2 decimals; null with 0 checks. Rolling: the last 7 or 30 days."
},
"valid_x402_pct": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100,
"description": "Share of checks that returned a valid x402 402, percent; null with 0 checks."
}
}
},
"30d": {
"type": "object",
"required": [
"checks",
"up",
"uptime_pct",
"valid_x402_pct"
],
"properties": {
"checks": {
"type": "integer",
"minimum": 0,
"description": "Daily checks in the window (one per listing per day)."
},
"up": {
"type": "integer",
"minimum": 0,
"description": "Checks where the listing was up."
},
"uptime_pct": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100,
"description": "up / checks in percent, 2 decimals; null with 0 checks. Rolling: the last 7 or 30 days."
},
"valid_x402_pct": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100,
"description": "Share of checks that returned a valid x402 402, percent; null with 0 checks."
}
}
}
}
},
"trust": {
"type": "object",
"description": "Trust score, formula 1.0-median30. Trust score (0-100) uses only the public numbers on this page, from our daily unpaid check of the listing's example endpoint over the last 30 days: uptime (40 points), how often the endpoint returned a valid x402 payment request (40), whether the price in that request matches the listed price (10), and the median response time of the checks that were up (10). If a part can't apply, for example prepaid pricing, the score is rescaled over the parts that do. A score appears only after at least 7 days and 6 checks. Paying for Featured, Sponsored or any other placement never changes it, and it is not an endorsement. The formula and every input are in the JSON at api.youraitools.co/stats/v1/listings/{slug}. Listed a service and think the score is wrong? Email hello@youraitools.co and we'll re-check it. Score = points / applicable_weight x 100, rounded (uptime.30d.uptime_pct x 0.4; uptime.30d.valid_x402_pct x 0.4; price_match 10 when last_check.valid_x402 and price.seen_usd is set, not applicable for prepaid or no listed $ figure; latency 10/7/4/1 for a 30-day median of up checks under 500 / 500-999 / 1000-1999 / 2000+ ms, 0 when the last check was not up). Bands: strong 90-100, fair 70-89, weak under 70 (a label, not a ranking). Missing data is never filled in. When a listing's probe target (method + example endpoint) changes, the window restarts at the next check (window_start; reason \"probe target changed on <date>; re-measuring\"). Payment, Featured and Sponsored status are never inputs.",
"required": [
"formula_version",
"status",
"score",
"band",
"reason",
"window_days",
"checks",
"measuring_since",
"window_start",
"components",
"applicable_weight",
"computed_at",
"method"
],
"properties": {
"formula_version": {
"const": "1.0-median30"
},
"status": {
"enum": [
"scored",
"insufficient_data",
"stale",
"not_applicable"
],
"description": "not_applicable: opted out, no example endpoint, our own tool, or not a plain x402 listing. insufficient_data: first check (or first check since the probe target changed) less than 7 days ago, or fewer than 6 checks in that window. stale: no check for 3 days."
},
"score": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 100,
"description": "null unless status = scored."
},
"band": {
"enum": [
"strong",
"fair",
"weak",
null
]
},
"reason": {
"type": [
"string",
"null"
]
},
"window_days": {
"const": 30
},
"checks": {
"type": "integer",
"minimum": 0,
"description": "Checks in the trust window (last 30 days, from window_start)."
},
"measuring_since": {
"type": [
"string",
"null"
],
"format": "date"
},
"window_start": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Start of the trust window: the first check, or the first check after the listing's probe target (method + example endpoint) last changed. Only checks at or after it (and within 30 days) count toward the score and the 7-day / 6-check gates; the uptime block keeps every check."
},
"components": {
"type": [
"object",
"null"
],
"description": "null unless status = scored.",
"properties": {
"uptime": {
"type": "object",
"properties": {
"weight": {
"const": 40
},
"input_pct": {
"type": [
"number",
"null"
]
},
"points": {
"type": [
"number",
"null"
],
"minimum": 0
}
}
},
"valid_x402": {
"type": "object",
"properties": {
"weight": {
"const": 40
},
"input_pct": {
"type": [
"number",
"null"
]
},
"points": {
"type": [
"number",
"null"
],
"minimum": 0
}
}
},
"price_match": {
"type": "object",
"properties": {
"weight": {
"const": 10
},
"applicable": {
"type": "boolean"
},
"input": {
"type": [
"boolean",
"null"
]
},
"points": {
"type": [
"number",
"null"
],
"minimum": 0
}
}
},
"latency": {
"type": "object",
"properties": {
"weight": {
"const": 10
},
"input_ms": {
"type": [
"integer",
"null"
],
"description": "Median latency_ms of the up checks in the last 30 days."
},
"input": {
"const": "median_30d_up_checks"
},
"up_checks": {
"type": "integer",
"minimum": 0
},
"last_check_up": {
"type": "boolean"
},
"band": {
"enum": [
"<500",
"500-999",
"1000-1999",
"2000-8000",
null
]
},
"points": {
"type": [
"number",
"null"
],
"minimum": 0
}
}
}
}
},
"applicable_weight": {
"enum": [
90,
100,
null
]
},
"computed_at": {
"type": "string",
"format": "date-time"
},
"method": {
"type": "string",
"format": "uri"
}
}
},
"probe_hold": {
"type": "boolean",
"description": "true while our daily check of this listing is being fixed on our side (probe target, HTTP method or request body): its measured numbers may reflect our check, not the service, so show \"check being updated\" instead. Clears once a trust score is measured wholly on the fixed check."
},
"daily": {
"type": "array",
"minItems": 30,
"maxItems": 30,
"description": "The last 30 UTC days, oldest first (today last). up / valid_x402 = the latest check of that day; null = no check that day (before the first check, opted out, no probe target or a missed day). checks = how many checks ran that day (normally 1).",
"items": {
"type": "object",
"required": [
"date",
"up",
"valid_x402",
"checks"
],
"properties": {
"date": {
"type": "string",
"format": "date"
},
"up": {
"type": [
"boolean",
"null"
]
},
"valid_x402": {
"type": [
"boolean",
"null"
]
},
"checks": {
"type": "integer",
"minimum": 0
}
}
}
},
"down_since": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When status is down: the first check of the current unbroken run of down checks (within stored history, about 35 days). null otherwise."
},
"last_status_change": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "The latest check whose up/down differed from the check before it (within stored history, about 35 days). null = no change seen."
},
"latency_ms_median": {
"type": "object",
"required": [
"7d",
"30d"
],
"description": "Median time to response headers (ms) of up checks in the last 7 / 30 days; null when there were none.",
"properties": {
"7d": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"30d": {
"type": [
"integer",
"null"
],
"minimum": 0
}
}
},
"grade": {
"type": [
"string",
"null"
],
"enum": [
"A",
"B",
"C",
"D",
"F",
null
],
"description": "x402fix grade of the probe target from the FREE x402fix preview (unpaid; never pays the target), run about once a day. null = not graded yet, opted out, no probe target, or the preview could not finish. Kept from the latest successful preview (see grade_detail.checked_at)."
},
"score": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "x402fix preview score 0-100 that goes with grade (not the trust score). null when grade is null."
},
"grade_detail": {
"type": [
"object",
"null"
],
"properties": {
"checked_at": {
"type": "string",
"format": "date-time"
},
"status": {
"type": [
"string",
"null"
],
"description": "x402fix status, e.g. pass, ok_with_warnings, broken."
},
"engine": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string",
"format": "uri"
}
}
},
"price_history": {
"type": "array",
"description": "Price changes only, oldest first: one entry each time the shown price (the payment option inside the listed range, as in price.seen) changed USD amount or network, dated by the UTC day it was first seen. Recorded since price_history_since. Prices outside the listed range are never recorded or shown.",
"items": {
"type": "object",
"required": [
"date",
"usd",
"network"
],
"properties": {
"date": {
"type": "string",
"format": "date"
},
"usd": {
"type": "number"
},
"network": {
"type": "string"
}
}
}
},
"price_history_since": {
"type": [
"string",
"null"
],
"format": "date",
"description": "UTC date price_history recording started for this listing; null before its first check under this field."
},
"last_valid_price": {
"type": [
"object",
"null"
],
"description": "Sticky: the latest shown price (inside the listed range) from a valid 402, kept while the listing is down or not answering 402, so a page can keep showing it with its date. null when no such price was ever seen or it is outside the current listed range.",
"properties": {
"usd": {
"type": "number"
},
"network": {
"type": "string"
},
"date": {
"type": "string",
"format": "date"
},
"at": {
"type": "string",
"format": "date-time"
}
}
},
"clicks_30d": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Clicks on this listing's youraitools.co page in the last 30 UTC days (same counts as /stats/v1/clicks total_30d; 0 when none). null if click counts were unavailable for this response."
},
"note": {
"type": "string"
}
}
},
"window": {
"type": "object",
"required": [
"checks",
"up",
"uptime_pct",
"valid_x402_pct"
],
"properties": {
"checks": {
"type": "integer",
"minimum": 0,
"description": "Daily checks in the window (one per listing per day)."
},
"up": {
"type": "integer",
"minimum": 0,
"description": "Checks where the listing was up."
},
"uptime_pct": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100,
"description": "up / checks in percent, 2 decimals; null with 0 checks. Rolling: the last 7 or 30 days."
},
"valid_x402_pct": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100,
"description": "Share of checks that returned a valid x402 402, percent; null with 0 checks."
}
}
}
}
} |