{
  "x402Version": 2,
  "id": 53614,
  "slug": "53614",
  "resource": "https://x402-api-24223879872.us-east1.run.app/v1/mx/rfc",
  "description": "Structural validation of a Mexican RFC (sent as a JSON body, not a query param): persona física/moral, embedded date, SAT check digit, plus Article 69-B (EFOS) blacklist status.",
  "type": "http",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8b9B012432A6B17dD08934Fa357D61aAb3fcE93D",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "article69B": {
            "description": "{ listed: false } | { error: 'unavailable' } | { listed: true, name, status, recordCount, records: [{ situacion, presuncion, desvirtuado, definitivo, sentenciaFavorable }] }. `status` is the most severe situacion across all records (definitivo > presunto > desvirtuado > sentencia_favorable) -- some RFCs have more than one record (one per procedimiento), so `status` alone (not the last record) is what to check.",
            "properties": {
              "error": {
                "type": "string"
              },
              "listed": {
                "type": "boolean"
              },
              "name": {
                "type": "string"
              },
              "recordCount": {
                "type": "integer"
              },
              "records": {
                "items": {
                  "properties": {
                    "situacion": {
                      "enum": [
                        "presunto",
                        "desvirtuado",
                        "definitivo",
                        "sentencia_favorable"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "status": {
                "enum": [
                  "presunto",
                  "desvirtuado",
                  "definitivo",
                  "sentencia_favorable"
                ],
                "type": "string"
              }
            },
            "type": "object"
          },
          "checkDigitValid": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "flags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "rfc": {
            "type": "string"
          },
          "type": {
            "enum": [
              "fisica",
              "moral",
              "generic",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "rfc": "EKU9003173C9"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "article69B": {
              "listed": false
            },
            "checkDigitValid": true,
            "date": "1990-03-17",
            "flags": [],
            "rfc": "EKU9003173C9",
            "type": "moral",
            "valid": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "rfc": {
                    "description": "RFC to validate, e.g. EKU9003173C9",
                    "type": "string"
                  }
                },
                "required": [
                  "rfc"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "article69B": {
                    "description": "{ listed: false } | { error: 'unavailable' } | { listed: true, name, status, recordCount, records: [{ situacion, presuncion, desvirtuado, definitivo, sentenciaFavorable }] }. `status` is the most severe situacion across all records (definitivo > presunto > desvirtuado > sentencia_favorable) -- some RFCs have more than one record (one per procedimiento), so `status` alone (not the last record) is what to check.",
                    "properties": {
                      "error": {
                        "type": "string"
                      },
                      "listed": {
                        "type": "boolean"
                      },
                      "name": {
                        "type": "string"
                      },
                      "recordCount": {
                        "type": "integer"
                      },
                      "records": {
                        "items": {
                          "properties": {
                            "situacion": {
                              "enum": [
                                "presunto",
                                "desvirtuado",
                                "definitivo",
                                "sentencia_favorable"
                              ],
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "status": {
                        "enum": [
                          "presunto",
                          "desvirtuado",
                          "definitivo",
                          "sentencia_favorable"
                        ],
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "checkDigitValid": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "flags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "rfc": {
                    "type": "string"
                  },
                  "type": {
                    "enum": [
                      "fisica",
                      "moral",
                      "generic",
                      null
                    ],
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "valid": {
                    "type": "boolean"
                  }
                },
                "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-23T05:25:04.638Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-23T05:25:04.498Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "rfc": "EKU9003173C9"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "article69B": {
                "listed": false
              },
              "checkDigitValid": true,
              "date": "1990-03-17",
              "flags": [],
              "rfc": "EKU9003173C9",
              "type": "moral",
              "valid": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "rfc": {
                      "description": "RFC to validate, e.g. EKU9003173C9",
                      "type": "string"
                    }
                  },
                  "required": [
                    "rfc"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "article69B": {
                      "description": "{ listed: false } | { error: 'unavailable' } | { listed: true, name, status, recordCount, records: [{ situacion, presuncion, desvirtuado, definitivo, sentenciaFavorable }] }. `status` is the most severe situacion across all records (definitivo > presunto > desvirtuado > sentencia_favorable) -- some RFCs have more than one record (one per procedimiento), so `status` alone (not the last record) is what to check.",
                      "properties": {
                        "error": {
                          "type": "string"
                        },
                        "listed": {
                          "type": "boolean"
                        },
                        "name": {
                          "type": "string"
                        },
                        "recordCount": {
                          "type": "integer"
                        },
                        "records": {
                          "items": {
                            "properties": {
                              "situacion": {
                                "enum": [
                                  "presunto",
                                  "desvirtuado",
                                  "definitivo",
                                  "sentencia_favorable"
                                ],
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "status": {
                          "enum": [
                            "presunto",
                            "desvirtuado",
                            "definitivo",
                            "sentencia_favorable"
                          ],
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "checkDigitValid": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "flags": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "rfc": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "fisica",
                        "moral",
                        "generic",
                        null
                      ],
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "valid": {
                      "type": "boolean"
                    }
                  },
                  "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": {
      "article69B": {
        "error": "string",
        "listed": true,
        "name": "string",
        "recordCount": 0,
        "records": [
          {
            "situacion": "presunto"
          }
        ],
        "status": "presunto"
      },
      "checkDigitValid": true,
      "date": "string",
      "flags": [
        "string"
      ],
      "rfc": "string",
      "type": "fisica",
      "valid": true
    },
    "type": "string"
  }
}