Skip to content
Beaconby Winda
FactRegulation, Standards and Compliance · Standards bodies

API vs ASME: who writes which standards?

·19 sources

Short answer

The American Petroleum Institute (API) writes oil and gas industry standards, including in-service inspection codes such as API 510, 570 and 653. The American Society of Mechanical Engineers (ASME) writes mechanical engineering codes, including the Boiler and Pressure Vessel Code and B31 piping codes used to build equipment. They jointly publish API 579-1/ASME FFS-1.

By , Editor·Researched and drafted by ·Checked by , Editor·Last checked ·Next review

Why does it matter?

API and ASME documents often govern the same equipment at different stages, and the two bodies have long written standards together. The Occupational Safety and Health Administration (OSHA) still incorporates the 1951 edition of a "Code for Unfired Pressure Vessels for Petroleum Liquids and Gases of the API and the ASME" in its general industry rules 15. In 2001 the two formed a joint committee on fitness-for-service, and since June 2007 they have issued a single standard, API 579-1/ASME FFS-1, now in its 4th edition of December 2021 10,5.

API vs ASME at a glance

APIASME
Who they areTrade association of the US natural gas and oil industry, about 600 member companies strong; it has written standards since it was founded in 1919 1Not-for-profit professional organization for engineers, founded in 1880 8
First standardSpec 5L, line pipe, 1924 3Code for the Conduct of Trials of Steam Boilers, 1884 9
Standards todayMore than 800 1,2About 550 codes and standards 11,12
How they are writtenProcess accredited by the American National Standards Institute (ANSI); committees open to materially affected parties; policy committees limited to API member companies 2,4ANSI-accredited process; committee seats free and open to technically qualified people; meetings open to the public 11,12
Document labelsSpecification, Standard, Code and Recommended Practice; also bulletins and technical reports 4Codes and standards, supplemented by code cases, interpretations and errata 19
Update rhythmEach standard reviewed at least every 5 years; under periodic maintenance, at most 3 substantive addenda before a new edition 4Boiler and Pressure Vessel Code on a two-year edition cycle; code cases take effect on approval and do not expire 13
Recent editionsAPI 510: 11th, October 2022; API 570: 5th, February 2024 (API 2025 catalog) 5Section VIII, Division 1: 2021, 2023, 2025; B31.3: 2020, 2022, 2024 (ASME product pages, checked 25 Oct 2026) 14
Conformity assessmentAPI Monogram licenses for products made to API specifications; API's quality programs cover over 4,300 organizations across 75 countries; individual inspector certification since 1989 6,7Accredits manufacturers and supplies the stamps they apply to show a product was built to an ASME standard 11

Sources: API and ASME public pages 1 to 14, 19; edition lists from API's 2025 catalog 5 and ASME product pages 14.

When is API used?

  • Once fixed equipment is in service. API 510 covers in-service inspection, repair, alteration and rerating of pressure vessels and their relief devices; API 570 does the same for metallic piping; Std 653 does it for tanks built to Std 650 5.
  • For inspection programs under process safety rules. OSHA names API 510, API 570 and API 580 as examples of the good engineering practice that piping and vessel inspection follows 18.
  • For pipeline materials and welding. Federal pipeline rules incorporate API Spec 5L for line pipe and API Std 1104 for welding 16,17.
  • Upstream. Exploration and production take up a large part of API's catalog, from drilling rigs and the pipe that lines a well to wellheads, their valves and offshore platforms 5.

When is ASME used?

  • To build new pressure vessels. OSHA incorporates editions of Section VIII from 1949 to 1968 for specific equipment 15, and pipeline rules require some fabricated components and closures to follow the 2007 edition of Section VIII 16,17.
  • To qualify welding. Section IX is the alternative to API Std 1104 for pipeline welding procedures and welders 16.
  • To design piping and pipelines. Federal rules incorporate ASME B31.4 for liquid lines and B31.8 for gas lines 16,17.
  • To judge corroded pipe and manage gas pipeline integrity. Rules cite ASME/ANSI B31G for remaining strength and ASME B31.8S for gas integrity management 16.

Where do API and ASME documents meet?

API 510 applies to vessels built to ASME Section VIII Divisions 1 and 2, but not Division 3, and to vessels built to no code 5. When an API inspection finds a flaw, API 510, API 570, Std 653 and the National Board Inspection Code (NBIC) recognize the joint API 579-1/ASME FFS-1 assessments 5. Its companion example manual is published as API 579-2/ASME PTB-14-2023, 2nd edition, May 2024 5.

ASME formed a Post Construction Committee in 1995, whose first guideline, on bolted flange joint assembly (PCC-1), came out in 2000 10. ASME's work therefore also reaches equipment in service, not only new construction.

Where integrity problems show up

RequirementWhat it means for integrity records or workIn the Library
49 CFR 192.153 and 195.124Some welded components, prefabricated units and pipeline closures must follow ASME Section VIII, Division 1 or 2, 2007 edition 16,17What is ASME Section VIII (pressure vessel design)?
49 CFR 195.205(b)(3) and 195.432(c)Pressurized breakout tanks built to API Std 2510 are repaired and inspected under API 510 17What is API 510?
49 CFR 192.225 and 192.227Welding procedures and welders qualify under API Std 1104 or ASME Section IX; procedure records are kept, and a welder qualified under an earlier edition may weld but not requalify under it 16What are a WPS and a PQR?
49 CFR 192.712(b)Corrosion metal loss is analyzed with ASME/ANSI B31G, R-STRENG or an equally conservative method; a less conservative method needs advance notice to the Pipeline and Hazardous Materials Safety Administration (PHMSA) 16Remaining strength factor
API 510, API 570, Std 653 and the NBICFlaws found by an in-service inspection can be assessed with the joint API-ASME fitness-for-service standard 5What is fitness-for-service (API 579-1/ASME FFS-1)?

Sources: eCFR 49 CFR 192 and 195 16,17; API 2025 catalog 5.

Common questions

Does API 510 replace ASME Section VIII?
No. Section VIII sets the rules for building a new vessel; API 510 takes over once the vessel is in service, for Division 1 and 2 vessels. See [What is API 510?](/library/api-510/) and [What is ASME Section VIII?](/library/asme-section-viii/)
Which ASME piping code applies to a pipeline?
Federal rules incorporate ASME B31.4 for hazardous liquid lines and ASME B31.8 for gas lines. Plant piping usually falls under B31.3; see [ASME B31.3 vs B31.4 vs B31.8: which piping code applies?](/library/asme-b31-3-vs-b31-4-vs-b31-8/)
Who certifies inspectors and manufacturers?
API certifies inspection personnel through its Individual Certification Programs and licenses manufacturers through the API Monogram. ASME accredits manufacturers and supplies their certification stamps. See [How do API 510, 570 and 653 inspector certifications work?](/library/api-inspector-certification/)

Beacon explains these concepts in its own words for education. It does not reproduce or replace the standards cited, and Winda is not affiliated with or endorsed by the organizations that publish them. Engineering decisions need the current edition of the standard and a qualified engineer.

Sources

  1. 1.About API · American Petroleum Institute (API)
  2. 2.Standards · American Petroleum Institute (API)
  3. 3.Standards News Highlights (API Announces 47th Edition of Foundational Line Pipe Standard, 2 June 2026) · American Petroleum Institute (API) ·
  4. 4.Procedures for Standards Development (8th edition, August 2025 (ANSI approved August 2025)) · American Petroleum Institute (API)
  5. 5.2025 Publications Catalog (API 579-1/ASME FFS-1, 4th edition, December 2021; API 579-2/ASME PTB-14-2023, 2nd edition, May 2024) · American Petroleum Institute (API)
  6. 6.API Quality Certifications (API Monogram, APIQR) · American Petroleum Institute (API)
  7. 7.Individual Certification Programs · American Petroleum Institute (API)
  8. 8.About The American Society of Mechanical Engineers · American Society of Mechanical Engineers (ASME)
  9. 9.History of ASME Standards · American Society of Mechanical Engineers (ASME)
  10. 10.ASME Standards and Certification Chronology · American Society of Mechanical Engineers (ASME)
  11. 11.Standards & Certification FAQ · American Society of Mechanical Engineers (ASME)
  12. 12.ASME Standards & Certification Development Committees · American Society of Mechanical Engineers (ASME)
  13. 13.Code Cases of the ASME Boiler and Pressure Vessel Code · American Society of Mechanical Engineers (ASME)
  14. 14.Product pages: BPVC.VIII.1 (Section VIII, Division 1) and B31.3 Process Piping (Section VIII, Division 1: 2025, 2023 and 2021 listed; B31.3: 2024, 2022 and 2020 listed) · American Society of Mechanical Engineers (ASME)
  15. 15.29 CFR 1910.6, Incorporation by reference · eCFR, US Office of the Federal Register
  16. 16.49 CFR Part 192 (sections 192.7, 192.153, 192.225, 192.227, 192.712) · eCFR, US Office of the Federal Register
  17. 17.49 CFR Part 195 (sections 195.3, 195.124, 195.205, 195.432) · eCFR, US Office of the Federal Register
  18. 18.Process Safety Management for Petroleum Refineries: Lessons Learned from the Petroleum Refinery Process Safety Management National Emphasis Program (OSHA 3918) · US Occupational Safety and Health Administration (OSHA)
  19. 19.ASME Publications Information · American Society of Mechanical Engineers (ASME)