{
  "openapi": "3.1.0",
  "info": {
    "title": "Dowelmark",
    "version": "0.1.0",
    "description": "Whether FDA recognises a consensus standard edition on a date, with its recognition number and Federal Register list."
  },
  "servers": [],
  "security": [
    {
      "bearer": []
    },
    {}
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "paths": {
    "/v1/tools/recognition_status": {
      "post": {
        "operationId": "recognition_status",
        "summary": "FDA recognition of a standard on a date",
        "description": "Says whether FDA recognises a consensus standard, in a given edition, on a given day, and returns its FDA recognition number, since when, until when, the Federal Register lists that recognised and replaced it, what replaced it, and the other editions FDA has recognised. Call it for any question like \"is ISO 10993-1:2025 FDA recognised\", \"which edition of IEC 60601-1 does FDA recognise today\" or \"was ASTM F2942-19 still recognised when we filed in March 2026\". Pass the year or edition to ask about that edition; without one, every edition FDA has listed comes back, newest recognised first. status is recognized, in_database_pending_list (in FDA's database, Federal Register list not yet applicable), unconfirmed (in force by the lists but missing from FDA's database), superseded (replaced by a newer edition), withdrawn, not_yet_recognized or unknown (recognised before September 2008, earlier than the lists replayed row by row). extent is complete or partial, from FDA's database. answer is one sentence to quote. found false means no recognition matched in the Federal Register lists; it does not prove FDA never recognised it. It does not hold FDA's transition end date for a superseded edition (on the detail page) or anything FDA changed after its database was last read; it holds no standard text.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "standard"
                ],
                "additionalProperties": false,
                "properties": {
                  "standard": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120,
                    "description": "The standard as you would cite it, with or without its year or edition: ISO 10993-1:2025, ISO 10993-1, IEC 60601-1 Edition 3.2, ASTM F2942-25, AAMI TIR57, CLSI EP12. Spacing and case do not matter. An FDA recognition number such as 2-313 is accepted too."
                  },
                  "date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "The day to answer for, YYYY-MM-DD, from 1998-01-01. Defaults to today (UTC)."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "dataVersion",
                    "retrieved",
                    "sources",
                    "attribution",
                    "warnings",
                    "complete"
                  ],
                  "properties": {
                    "dataVersion": {
                      "type": "string"
                    },
                    "retrieved": {
                      "type": "string"
                    },
                    "sources": {
                      "type": "array"
                    },
                    "attribution": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "complete": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Invalid key"
          },
          "429": {
            "description": "Limit reached"
          }
        }
      }
    },
    "/v1/tools/get_recognition": {
      "post": {
        "operationId": "get_recognition",
        "summary": "Full history of one FDA recognition number",
        "description": "Returns everything the Federal Register says about one FDA recognition number (for example 2-313): its citation and title as FDA lists it, specialty, status today, every list that recognised, changed, replaced or withdrew it with FDA's own change text, and its lineage, the chain of editions before and after it. Call it once you have a recognition number and need the paper trail for a submission or an audit, or to see how a standard's editions followed each other. To find a number from a designation, call recognition_status. It includes FDA's database date of entry, extent and detail page link; it does not hold the detail page's own fields (transition date, relevant guidance).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "number"
                ],
                "additionalProperties": false,
                "properties": {
                  "number": {
                    "type": "string",
                    "maxLength": 12,
                    "pattern": "^\\s*\\d{1,2}\\s*-\\s*\\d{1,4}\\s*$",
                    "description": "FDA recognition number, specialty and item, for example 2-313 or 19-49."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "dataVersion",
                    "retrieved",
                    "sources",
                    "attribution",
                    "warnings",
                    "complete"
                  ],
                  "properties": {
                    "dataVersion": {
                      "type": "string"
                    },
                    "retrieved": {
                      "type": "string"
                    },
                    "sources": {
                      "type": "array"
                    },
                    "attribution": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "complete": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Invalid key"
          },
          "429": {
            "description": "Limit reached"
          }
        }
      }
    },
    "/v1/tools/changes_since": {
      "post": {
        "operationId": "changes_since",
        "summary": "FDA recognition changes since a date",
        "description": "Lists every recognition FDA added, replaced, withdrew or changed in the Federal Register lists applicable on or after a date, oldest first, with the list, its date and FDA's change text. Call it on a schedule to see what moved since your last check, or to review a test plan against everything that changed since it was written. Filter by specialty (Biocompatibility, Software/Informatics) and kinds (recognized, replaced, withdrawn, modified). Page with nextCursor. FDA publishes about two lists a year and its database often shows changes earlier; this feed follows the Federal Register.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "since"
                ],
                "additionalProperties": false,
                "properties": {
                  "since": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "First day to include, YYYY-MM-DD: lists applicable on or after it."
                  },
                  "until": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Last day to include, YYYY-MM-DD. Defaults to no limit."
                  },
                  "specialty": {
                    "type": "string",
                    "maxLength": 80,
                    "description": "Optional FDA specialty area, by name or number: Biocompatibility (2), Cardiovascular (3), Software/Informatics (13), Sterility (14), General II (ES/EMC) (19) and so on. Words of the name are enough."
                  },
                  "kinds": {
                    "type": [
                      "array",
                      "string"
                    ],
                    "maxItems": 4,
                    "maxLength": 60,
                    "items": {
                      "type": "string",
                      "enum": [
                        "recognized",
                        "replaced",
                        "withdrawn",
                        "modified"
                      ]
                    },
                    "description": "Only these kinds of change, as a list or a comma-separated string: recognized, replaced, withdrawn, modified. replaced means the row also names the new recognition."
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 200,
                    "description": "Items per page, default 50."
                  },
                  "cursor": {
                    "type": "string",
                    "maxLength": 12,
                    "description": "nextCursor from the previous page."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "dataVersion",
                    "retrieved",
                    "sources",
                    "attribution",
                    "warnings",
                    "complete"
                  ],
                  "properties": {
                    "dataVersion": {
                      "type": "string"
                    },
                    "retrieved": {
                      "type": "string"
                    },
                    "sources": {
                      "type": "array"
                    },
                    "attribution": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "complete": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Invalid key"
          },
          "429": {
            "description": "Limit reached"
          }
        }
      }
    },
    "/v1/tools/recognition_list": {
      "post": {
        "operationId": "recognition_list",
        "summary": "Contents of one FDA Recognition List",
        "description": "Returns one numbered FDA Recognition List (for example List 066 of 24 August 2026): its Federal Register document, citation, applicable date, docket and counts, then every row it contains as a change (recognized, replaced, withdrawn, modified) with FDA's change text, paged. Call it when a document or a person cites a list by number, or to read what one list did. Lists 001 to 019 (1998 to 2007) return their Federal Register reference only. For changes across several lists, call changes_since.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "list"
                ],
                "additionalProperties": false,
                "properties": {
                  "list": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "maxLength": 8,
                    "description": "Recognition list number, for example 66, 066 or \"List 066\"."
                  },
                  "specialty": {
                    "type": "string",
                    "maxLength": 80,
                    "description": "Optional FDA specialty area, by name or number: Biocompatibility (2), Cardiovascular (3), Software/Informatics (13), Sterility (14), General II (ES/EMC) (19) and so on. Words of the name are enough."
                  },
                  "kinds": {
                    "type": [
                      "array",
                      "string"
                    ],
                    "maxItems": 4,
                    "maxLength": 60,
                    "items": {
                      "type": "string",
                      "enum": [
                        "recognized",
                        "replaced",
                        "withdrawn",
                        "modified"
                      ]
                    },
                    "description": "Only these kinds: recognized, replaced, withdrawn, modified."
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 200,
                    "description": "Items per page, default 50."
                  },
                  "cursor": {
                    "type": "string",
                    "maxLength": 12,
                    "description": "nextCursor from the previous page."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "dataVersion",
                    "retrieved",
                    "sources",
                    "attribution",
                    "warnings",
                    "complete"
                  ],
                  "properties": {
                    "dataVersion": {
                      "type": "string"
                    },
                    "retrieved": {
                      "type": "string"
                    },
                    "sources": {
                      "type": "array"
                    },
                    "attribution": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "complete": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Invalid key"
          },
          "429": {
            "description": "Limit reached"
          }
        }
      }
    },
    "/v1/tools/search_recognitions": {
      "post": {
        "operationId": "search_recognitions",
        "summary": "Find FDA recognitions by words",
        "description": "Finds FDA recognitions whose designation or title contains all the words you give, for example \"suction equipment\", \"80601-2\", \"cybersecurity\" or \"CLSI EP\", with each one's recognition number, citation, specialty, status and dates. By default only standards recognised today are returned; pass status any to include superseded and withdrawn ones. Call it when you know the subject but not the designation, or to list what FDA recognises in an area. For one standard you can name, recognition_status is more precise. Page with nextCursor.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "query"
                ],
                "additionalProperties": false,
                "properties": {
                  "query": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120,
                    "description": "Words from the designation or title, all of which must appear."
                  },
                  "specialty": {
                    "type": "string",
                    "maxLength": 80,
                    "description": "Optional FDA specialty area, by name or number: Biocompatibility (2), Cardiovascular (3), Software/Informatics (13), Sterility (14), General II (ES/EMC) (19) and so on. Words of the name are enough."
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "recognized",
                      "superseded",
                      "withdrawn",
                      "unconfirmed",
                      "any"
                    ],
                    "description": "Which recognitions to include, by their status today, default recognized. unconfirmed means in force by the lists but missing from FDA's database."
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100,
                    "description": "Items per page, default 20."
                  },
                  "cursor": {
                    "type": "string",
                    "maxLength": 12,
                    "description": "nextCursor from the previous page."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "dataVersion",
                    "retrieved",
                    "sources",
                    "attribution",
                    "warnings",
                    "complete"
                  ],
                  "properties": {
                    "dataVersion": {
                      "type": "string"
                    },
                    "retrieved": {
                      "type": "string"
                    },
                    "sources": {
                      "type": "array"
                    },
                    "attribution": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "complete": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Invalid key"
          },
          "429": {
            "description": "Limit reached"
          }
        }
      }
    }
  }
}
