ASME and API at a Glance
ASME, the American Society of Mechanical Engineers, founded in 1880, is a not-for-profit professional organization that develops codes and standards for boilers, pressure vessels, piping and other mechanical equipment across many industries. API, the American Petroleum Institute, develops standards for the oil and gas industry, from drilling equipment to line pipe and storage tanks.
API standards such as API 5L are comprehensive technical specifications for specific products. They define dimensions, material chemical composition, mechanical properties such as yield and tensile strength, manufacturing processes such as seamless or welded, quality grades PSL1 and PSL2, non-destructive testing and hydrostatic testing. ASME standards such as ASME B36.10 and B31.3 establish a broader framework for engineering safety and compatibility across complete systems.
Core Philosophy and Scope
| Dimension | ASME | API |
|---|---|---|
| Core focus | Safety and pressure integrity, preventing failure | Industry performance and operations, operational fitness |
| Industry scope | Multi-industry: power, chemical, food, pharmaceutical and more | Oil and gas industry |
| Status | Codes, often carrying mandatory legal or regulatory weight | Standards, recommended industry practices |
| Certification | ASME U and S stamps for manufacturers | API monogram licensing for products |
ASME is frequently referenced in law and regulation as a safety requirement, for example for pressure vessels in many jurisdictions. API standards are contractual industry practices that define the technical quality of oil and gas products.
How They Interact in Piping Procurement
| Scenario | Use ASME | Use API |
|---|---|---|
| Refinery and plant piping | Inside-the-fence process piping per ASME B31.3 | Rotating equipment and some tankage per API standards |
| Cross-country transmission | Rarely used for long-distance lines | Outside-the-fence pipelines per API 5L |
| Pressure vessels | ASME Section VIII is the global reference | Certain storage tanks, for example API 650 |
| Material specifications | References ASTM standards such as A106 and A333 | Uses API grades such as X52, X65 and X70 |
In practice the two systems complement each other. A process plant inside the fence is designed to ASME B31.3 piping code with material to ASTM specifications; the pipeline leaving the fence is designed to API 5L with PSL2 line pipe.
Procurement Impact: Grades, Quality Levels and Stock
| Factor | ASME / ASTM | API |
|---|---|---|
| Grade notation | Grade A, B, C | Grade B, X42, X52, X60 up to X80 |
| Quality level | Highly standardized, globally consistent | PSL1 and PSL2, with PSL2 stricter on impact testing and traceability |
| Stock availability | Very high; ASTM A106 Grade B is a global commodity | Medium; high grades such as X65 and X70 often need mill runs |
| Testing emphasis | Pressure retention and material chemistry | Fracture toughness and resistance to sour gas |
| Cost | Generally lower for standard industrial applications | Can be higher due to micro-alloying and specialized NDT |
A common cost strategy is to purchase dual-certified pipe, for example ASTM A106 Grade B certified also to API 5L Grade B, so that one stock item satisfies both process-plant and pipeline codes.
Practical Selection Guide
For process piping inside a plant, specify ASME B31.3 and material per ASTM standards such as A106 or A333.
For long-distance transmission lines, specify API 5L with the required PSL level and strength grade.
For pressure vessels, specify ASME Section VIII and confirm the manufacturer holds the appropriate ASME stamp.
For storage tanks, check API 650 for atmospheric tanks and ASME for pressurized vessels.
When both codes apply, order dual-certified material and verify the mill certificates against both specifications.
Common Misconceptions
API 5L and ASME B31.3 are not alternatives. One is a product standard for line pipe; the other is a design and construction code for piping systems.
ASME does not replace ASTM. ASME piping codes reference ASTM material specifications for the pipe itself.
PSL2 is not a higher strength level. It is a stricter quality level with additional testing and traceability at the same strength grade.
A mill test certificate is not a substitute for certification. Stamps and monograms are issued through accredited certification programs.
FAQ
What does ASME stand for?
ASME stands for the American Society of Mechanical Engineers, a not-for-profit professional organization founded in 1880 that develops codes and standards for mechanical engineering across all industries.
What does API mean in steel?
API stands for the American Petroleum Institute, the standards body for the oil and gas industry. Its specifications, such as API 5L for line pipe, define the technical requirements for petroleum industry products.
Is API 5L Grade B the same as ASTM A106 Grade B?
They are similar carbon steel grades with comparable strength, and pipe is often dual certified to both. However, A106 is a seamless high-temperature pipe specification while API 5L covers both seamless and welded line pipe, so the governing project code determines which is required.
What is the difference between PSL1 and PSL2?
PSL1 and PSL2 are product specification levels in API 5L. PSL2 has stricter chemical limits, mandatory Charpy impact testing, a maximum yield-to-tensile ratio and full traceability, making it the preferred level for sour and high-pressure gas service.
When should I specify ASME B31.3 instead of API 5L?
Use ASME B31.3 for process piping inside refineries, chemical plants and power plants. Use API 5L for cross-country oil and gas transmission pipelines outside the plant fence.
What is dual certification of pipe?
Dual certification means a single pipe lot is manufactured and documented to meet two specifications, for example ASTM A106 Grade B and API 5L Grade B, so it can be used in both ASME-coded plants and API pipelines.

