what are API Piping code

API Piping code:- A code  is a standard that has been adopted by one or more governmental bodies and has the force of law. Standards are considered voluntary because they serve as guidelines, but do not of themselves have the force of law. ASME cannot force any manufacturer, inspector, or fabricator to follow ASME standards.  Their use is voluntary. Standards become mandatory when they have been incorporated into a contractual document (client specification requirement) or incorporated into regulations.

A standard can be defined as a set of technical definitions and guidelines, how to give instructions for designers, fabricators and operators. Standards promote safety, reliability, productivity and efficiency in almost every industry that relies on engineering components or equipment.  Standards can run from a few paragraphs to hundreds of pages, and are written by experts with knowledge and expertise in a particular field who sit on many committees.

Standards are a vehicle of communication for producers and users. They serve as a common language, defining quality and establishing safety criteria. By following the same standard, interchangeability is assured.

These code helps to maintain integrity with safety, environment and HSE.

American National Standard Institute (ANSI)
American Society of Mechanical Engineers (ASME)

ASME B 31.1                       Power piping

ASME B 31.2                       Fuel Gas piping

ASME B 31.3                     Process Piping for Petroleum refineries, Chemical, Pharmaceutical, Textile,

ASME B 31.4                     Piping generally used for transporting & distributing liquid Hydrocarbons

ASME B 31.5                       Refrigeration piping

ASME B 31.7                       Nuclear Power piping

ASME B 31.8                       Piping generally used for transporting & distributing Gases.

ASME B 31.9                       Building services

ASME B 31.11                     Slurry transportation piping system

ASME B 16.5                       Pipe Flanges and Flanged Fittings NPS 1/2 Trough NPS 24

ASME B 16.9                       Factory-Made Wrought Steel Butt welding Fittings

ASME B 16.10                     Face-to-Face and End-to-End Dimensions of Valves

ASME B 16.11                     Forged Fittings, Socket- Welding and Threaded

ANSI B 16.14                       Ferrous Pipe Plugs, Bushing and Locknuts with Pipe Threads

ASME B 16.20                   Metallic Gaskets for Pipe Flanges- Ring-Joint, Spiral-Wound,

ASME B 16.21                     Nonmetallic Flat Gaskets for Pipe Flanges

ASME B 16.25                     Butt welding Ends

ASME B 16.28                     Wrought Steel Butt welding Short Radius Elbows

ASME B 16.34                     Valves – Flanged, Threaded, and Welding End

ASME B 16.36                 Orifice Flanges

ASME B 16.47a               Large Diameter Steel Flanges NPS 26 Through NPS 60

ASME B 16.48                   Line Blinds

ANSI B 18.2.1                   Square and Hex nuts (Inch Series)

ASME B 36.10M               Welded and Seamless Wrought Steel Pipe

ASME B 36.19M                Stainless Steel Pipe

API Piping code (American Petroleum Institute)

API SPEC 5L                        Specification for Line Pipe

API STD 594                       Check Valves: Wafer, Wafer-Lug, and Double Flanged Type

API STD 598                       Valve Inspection and Testing

API STD 600                       Steel Gate Valves- Flanged and Butt-welding Ends, Bolted and Pressure Seal

API STD 602                      Compact Steel Gate Valves- Flanged, Threaded, Welding, and Extended

API STD 607                       Fire Safe Valves.

API STD 609                       Butterfly Valves: Double Flanged, Lug-and wafer Type

API STD 610                      Centrifugal Pumps for Petroleum, Petrochemical and Natural Industries.

MSS SP-6                          Standard Finishes for Contact Faces of Pipe Flanges and Connecting-End  Flanges

MSS SP-25                        Standard Marking Systems for Valves, Fittings, Flanges & Union

MSS SP-45                        Bypass and Drain Connections

MSS SP-61                        Pressure Testing of Steel Valves

MSS SP-67                         Butterfly Valves

MSS SP-75                        Specification for High Test Wrought Butt Welding Fittings

MSS SP-82                       Valve Pressure Testing Methods

MSS SP-95                       Swadged Nipples and Bull Plugs

MSS SP-97                      Integrally Reinforced Forged Branch Outlet Fittings-Socket welding, Threaded

American Society for Testing and Materials (ASTM)

  • ASTM Section II A Volume 1 & 2
  • ASTM Section V
  • ASTM Section VIII Division 1 & 2

British Standards (BS)

BS 5351               Steel ball valves for petroleum, petrochemical & allied industries

BS 5352                Specifications for steel wedge gate, globe & check valves 50 mm

BS 5353                 Steel plug valves

BS 1873               Steel globe & globe stop & check valves (Flanged & butt-welded ends) for petroleum,

Leave a comment