{
  "x402Version": 2,
  "id": 53617,
  "slug": "53617",
  "resource": "https://x402-api-24223879872.us-east1.run.app/v1/repo-merge",
  "description": "Predicts whether a GitHub repository will merge an AI-authored or external pull request, based on its stated AI/contribution policy and historical merge rates.",
  "type": "http",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8b9B012432A6B17dD08934Fa357D61aAb3fcE93D",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "aiPolicy": {
            "properties": {
              "classification": {
                "enum": [
                  "forbidden",
                  "disclosure_required",
                  "allowed",
                  "unknown"
                ],
                "type": "string"
              },
              "matches": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "archived": {
            "type": "boolean"
          },
          "defaultBranch": {
            "type": "string"
          },
          "flags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "lastPushedAt": {
            "type": "string"
          },
          "mergeStats": {
            "properties": {
              "botAuthoredPrCount": {
                "type": "number"
              },
              "externalMergeRate": {
                "type": "number"
              },
              "externalPrSampleSize": {
                "type": "number"
              },
              "lastExternalMergeAt": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "medianHoursToMergeExternal": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "memberMergeRate": {
                "type": "number"
              }
            },
            "type": "object"
          },
          "openIssuesAndPrsCount": {
            "type": "number"
          },
          "repo": {
            "type": "string"
          },
          "score": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "repo": "facebook/react"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "aiPolicy": {
              "classification": "unknown",
              "matches": []
            },
            "archived": false,
            "defaultBranch": "main",
            "flags": [],
            "lastPushedAt": "2026-09-01T00:00:00.000Z",
            "mergeStats": {
              "botAuthoredPrCount": 2,
              "externalMergeRate": 0.4,
              "externalPrSampleSize": 40,
              "lastExternalMergeAt": "2026-08-30T00:00:00.000Z",
              "medianHoursToMergeExternal": 48,
              "memberMergeRate": 0.9
            },
            "openIssuesAndPrsCount": 120,
            "repo": "facebook/react",
            "score": 85
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "repo": {
                    "description": "owner/name, e.g. facebook/react",
                    "type": "string"
                  }
                },
                "required": [
                  "repo"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "aiPolicy": {
                    "properties": {
                      "classification": {
                        "enum": [
                          "forbidden",
                          "disclosure_required",
                          "allowed",
                          "unknown"
                        ],
                        "type": "string"
                      },
                      "matches": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "archived": {
                    "type": "boolean"
                  },
                  "defaultBranch": {
                    "type": "string"
                  },
                  "flags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "lastPushedAt": {
                    "type": "string"
                  },
                  "mergeStats": {
                    "properties": {
                      "botAuthoredPrCount": {
                        "type": "number"
                      },
                      "externalMergeRate": {
                        "type": "number"
                      },
                      "externalPrSampleSize": {
                        "type": "number"
                      },
                      "lastExternalMergeAt": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "medianHoursToMergeExternal": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "memberMergeRate": {
                        "type": "number"
                      }
                    },
                    "type": "object"
                  },
                  "openIssuesAndPrsCount": {
                    "type": "number"
                  },
                  "repo": {
                    "type": "string"
                  },
                  "score": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-api-24223879872.us-east1.run.app",
  "lastUpdated": "2026-09-23T03:24:08.976Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-23T03:24:08.818Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "repo": "facebook/react"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "aiPolicy": {
                "classification": "unknown",
                "matches": []
              },
              "archived": false,
              "defaultBranch": "main",
              "flags": [],
              "lastPushedAt": "2026-09-01T00:00:00.000Z",
              "mergeStats": {
                "botAuthoredPrCount": 2,
                "externalMergeRate": 0.4,
                "externalPrSampleSize": 40,
                "lastExternalMergeAt": "2026-08-30T00:00:00.000Z",
                "medianHoursToMergeExternal": 48,
                "memberMergeRate": 0.9
              },
              "openIssuesAndPrsCount": 120,
              "repo": "facebook/react",
              "score": 85
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "repo": {
                      "description": "owner/name, e.g. facebook/react",
                      "type": "string"
                    }
                  },
                  "required": [
                    "repo"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "aiPolicy": {
                      "properties": {
                        "classification": {
                          "enum": [
                            "forbidden",
                            "disclosure_required",
                            "allowed",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "matches": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "archived": {
                      "type": "boolean"
                    },
                    "defaultBranch": {
                      "type": "string"
                    },
                    "flags": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "lastPushedAt": {
                      "type": "string"
                    },
                    "mergeStats": {
                      "properties": {
                        "botAuthoredPrCount": {
                          "type": "number"
                        },
                        "externalMergeRate": {
                          "type": "number"
                        },
                        "externalPrSampleSize": {
                          "type": "number"
                        },
                        "lastExternalMergeAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "medianHoursToMergeExternal": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "memberMergeRate": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "openIssuesAndPrsCount": {
                      "type": "number"
                    },
                    "repo": {
                      "type": "string"
                    },
                    "score": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-api-24223879872.us-east1.run.app",
    "manifest_name": "x402-api-24223879872.us-east1.run.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "aiPolicy": {
        "classification": "forbidden",
        "matches": [
          "string"
        ]
      },
      "archived": true,
      "defaultBranch": "string",
      "flags": [
        "string"
      ],
      "lastPushedAt": "string",
      "mergeStats": {
        "botAuthoredPrCount": 0,
        "externalMergeRate": 0,
        "externalPrSampleSize": 0,
        "lastExternalMergeAt": "string",
        "medianHoursToMergeExternal": 0,
        "memberMergeRate": 0
      },
      "openIssuesAndPrsCount": 0,
      "repo": "string",
      "score": 0
    },
    "type": "string"
  }
}