Web APIs
When writing code for the Web, there are a large number of Web APIs available. Below is a list of all the APIs and interfaces (object types) that you may be able to use while developing your Web app or site.
Web APIs are typically used with JavaScript, although this doesn't always have to be the case.
Specifications
This is a list of all the APIs that are available.
B
- Background Fetch API
- Background Tasks
- Barcode Detection API
- Battery API
- Beacon
- Bluetooth API
- Broadcast Channel API
- CSS Counter Styles
- CSS Font Loading API
- CSS Painting API
- CSS Typed Object Model API
- CSSOM
- Canvas API
- Channel Messaging API
- Clipboard API
- Console API
- Contact Picker API
- Content Index API
- Credential Management API
- Media Capabilities API
- Media Capture and Streams
- Media Session API
- Media Source Extensions
- MediaStream Recording
- Page Visibility API
- Payment Request API
- Performance API
- Performance Timeline API
- Periodic Background Sync
- Permissions API
- Picture-in-Picture API
- Pointer Events
- Pointer Lock API
- Presentation API
- Proximity Events
- Push API
- Screen Capture API
- Screen Orientation API
- Screen Wake Lock API
- Selection API
- Sensor API
- Server Sent Events
- Service Workers API
- Storage
- Storage Access API
- Streams
- Web Animations
- Web Audio API
- Web Authentication API
- Web Crypto API
- Web MIDI API
- Web Notifications
- Web Share API
- Web Speech API
- Web Storage API
- Web Workers API
- WebCodecs API
- WebGL
- WebHID API
- WebRTC
- WebVR API
- WebVTT
- WebXR Device API
- Websockets API
- Window Controls Overlay API
Interfaces
This is a list of all the interfaces (that is, types of objects) that are available.
A
AbortController
AbortSignal
AbsoluteOrientationSensor
AbstractRange
Accelerometer
AddressErrors
AesCbcParams
AesCtrParams
AesGcmParams
AesKeyGenParams
AmbientLightSensor
AnalyserNode
ANGLE_instanced_arrays
Animation
AnimationEffect
AnimationEvent
AnimationPlaybackEvent
AnimationTimeline
ArrayBufferView
atob()
Attr
AudioBuffer
AudioBufferSourceNode
AudioConfiguration
AudioContext
AudioData
AudioDecoder
AudioDestinationNode
AudioEncoder
AudioListener
AudioNode
AudioParam
AudioParamDescriptor
AudioParamMap
AudioProcessingEvent
AudioScheduledSourceNode
AudioTrack
AudioTrackList
AudioWorklet
AudioWorkletGlobalScope
AudioWorkletNode
AudioWorkletProcessor
AuthenticatorAssertionResponse
AuthenticatorAttestationResponse
AuthenticatorResponse
BackgroundFetchEvent
BackgroundFetchManager
BackgroundFetchRecord
BackgroundFetchRegistration
BackgroundFetchUpdateUIEvent
BarcodeDetector
BarProp
BaseAudioContext
BatteryManager
BeforeInstallPromptEvent
BeforeUnloadEvent
BiquadFilterNode
Blob
BlobBuilder
BlobEvent
Bluetooth
BluetoothCharacteristicProperties
BluetoothDevice
BluetoothRemoteGATTCharacteristic
BluetoothRemoteGATTDescriptor
BluetoothRemoteGATTServer
BluetoothRemoteGATTService
BluetoothUUID
BroadcastChannel
btoa()
BufferSource
ByteLengthQueuingStrategy
Cache
caches
CacheStorage
CanvasCaptureMediaStreamTrack
CanvasGradient
CanvasImageSource
CanvasPattern
CanvasRenderingContext2D
CaretPosition
CDATASection
ChannelMergerNode
ChannelSplitterNode
CharacterData
clearInterval()
clearTimeout()
Client
Clients
Clipboard
ClipboardEvent
ClipboardItem
CloseEvent
Comment
CompositionEvent
CompressionStream
console
ConstantSourceNode
ContactAddress
ContactsManager
ContentIndex
ContentIndexEvent
ConvolverNode
CookieChangeEvent
CookieStore
CookieStoreManager
CountQueuingStrategy
CrashReportBody
createImageBitmap()
Credential
CredentialsContainer
crossOriginIsolated
Crypto
CryptoKey
CryptoKeyPair
CSS
CSSAnimation
CSSConditionRule
CSSCounterStyleRule
CSSFontFaceRule
CSSGroupingRule
CSSImageValue
CSSImportRule
CSSKeyframeRule
CSSKeyframesRule
CSSKeywordValue
CSSMathInvert
CSSMathMax
CSSMathMin
CSSMathNegate
CSSMathProduct
CSSMathSum
CSSMathValue
CSSMatrixComponent
CSSMediaRule
CSSNamespaceRule
CSSNumericArray
CSSNumericValue
CSSOMString
CSSPageRule
CSSPerspective
CSSPositionValue
CSSPrimitiveValue
CSSPropertyRule
CSSPseudoElement
CSSRotate
CSSRule
CSSRuleList
CSSScale
CSSSkew
CSSSkewX
CSSSkewY
CSSStyleDeclaration
CSSStyleRule
CSSStyleSheet
CSSStyleValue
CSSSupportsRule
CSSTransformComponent
CSSTransformValue
CSSTransition
CSSTranslate
CSSUnitValue
CSSUnparsedValue
CSSValue
CSSValueList
CSSVariableReferenceValue
CustomElementRegistry
CustomEvent
CustomStateSet
DataTransfer
DataTransferItem
DataTransferItemList
DecompressionStream
DedicatedWorkerGlobalScope
DelayNode
DeprecationReportBody
DeviceMotionEvent
DeviceMotionEventAcceleration
DeviceMotionEventRotationRate
DeviceOrientationEvent
DeviceProximityEvent
DirectoryEntrySync
DirectoryReaderSync
Document
DocumentFragment
DocumentTimeline
DocumentType
DOMError
DOMException
DOMHighResTimeStamp
DOMImplementation
DOMMatrix
(WebKitCSSMatrix)DOMMatrixReadOnly
DOMParser
DOMPoint
DOMPointReadOnly
DOMQuad
DOMRect
DOMRectReadOnly
DOMString
DOMStringList
DOMStringMap
DOMTimeStamp
DOMTokenList
DragEvent
DynamicsCompressorNode
EcdhKeyDeriveParams
EcdsaParams
EcKeyGenParams
EcKeyImportParams
Element
ElementInternals
EncodedAudioChunk
EncodedVideoChunk
EpochTimeStamp
ErrorEvent
Event
EventListener
EventSource
EventTarget
EXT_blend_minmax
EXT_color_buffer_float
EXT_color_buffer_half_float
EXT_disjoint_timer_query
EXT_float_blend
EXT_frag_depth
EXT_shader_texture_lod
EXT_sRGB
EXT_texture_compression_bptc
EXT_texture_compression_rgtc
EXT_texture_filter_anisotropic
EXT_texture_norm16
ExtendableCookieChangeEvent
ExtendableEvent
ExtendableMessageEvent
EyeDropper
FeaturePolicy
FederatedCredential
fetch()
FetchEvent
File
FileEntrySync
FileException
FileList
FileReader
FileReaderSync
FileRequest
FileSystem
FileSystemDirectoryEntry
FileSystemDirectoryHandle
FileSystemDirectoryReader
FileSystemEntry
FileSystemEntrySync
FileSystemFileEntry
FileSystemFileHandle
FileSystemHandle
FileSystemSync
FileSystemWritableFileStream
FocusEvent
FontFace
FontFaceSet
FontFaceSetLoadEvent
FormData
FormDataEntryValue
FormDataEvent
GainNode
Gamepad
GamepadButton
GamepadEvent
GamepadHapticActuator
GamepadPose
Geolocation
GeolocationCoordinates
GeolocationPosition
GeolocationPositionError
GestureEvent
getCandidateWindowClientRect
GlobalEventHandlers
GravitySensor
Gyroscope
HashChangeEvent
Headers
HID
HIDConnectionEvent
HIDDevice
HIDInputReportEvent
History
HkdfParams
HmacImportParams
HmacKeyGenParams
HMDVRDevice
HTMLAnchorElement
HTMLAreaElement
HTMLAudioElement
HTMLBaseElement
HTMLBaseFontElement
HTMLBodyElement
HTMLBRElement
HTMLButtonElement
HTMLCanvasElement
HTMLCollection
HTMLContentElement
HTMLDataElement
HTMLDataListElement
HTMLDetailsElement
HTMLDialogElement
HTMLDivElement
HTMLDListElement
HTMLDocument
HTMLElement
HTMLEmbedElement
HTMLFieldSetElement
HTMLFontElement
HTMLFormControlsCollection
HTMLFormElement
HTMLFrameSetElement
HTMLHeadElement
HTMLHeadingElement
HTMLHRElement
HTMLHtmlElement
HTMLIFrameElement
HTMLImageElement
HTMLInputElement
HTMLKeygenElement
HTMLLabelElement
HTMLLegendElement
HTMLLIElement
HTMLLinkElement
HTMLMapElement
HTMLMarqueeElement
HTMLMediaElement
HTMLMenuElement
HTMLMenuItemElement
HTMLMetaElement
HTMLMeterElement
HTMLModElement
HTMLObjectElement
HTMLOListElement
HTMLOptGroupElement
HTMLOptionElement
HTMLOptionsCollection
HTMLOutputElement
HTMLParagraphElement
HTMLParamElement
HTMLPictureElement
HTMLPreElement
HTMLProgressElement
HTMLQuoteElement
HTMLScriptElement
HTMLSelectElement
HTMLShadowElement
HTMLSlotElement
HTMLSourceElement
HTMLSpanElement
HTMLStyleElement
HTMLTableCaptionElement
HTMLTableCellElement
HTMLTableColElement
HTMLTableElement
HTMLTableRowElement
HTMLTableSectionElement
HTMLTemplateElement
HTMLTextAreaElement
HTMLTimeElement
HTMLTitleElement
HTMLTrackElement
HTMLUListElement
HTMLUnknownElement
HTMLVideoElement
IDBCursor
IDBCursorWithValue
IDBDatabase
IDBFactory
IDBIndex
IDBKeyRange
IDBLocaleAwareKeyRange
IDBMutableFile
IDBObjectStore
IDBOpenDBRequest
IDBRequest
IDBTransaction
IDBVersionChangeEvent
IdleDeadline
IdleDetector
IIRFilterNode
ImageBitmap
ImageBitmapRenderingContext
ImageCapture
ImageData
ImageDecoder
ImageTrack
ImageTrackList
indexedDB
InputDeviceCapabilities
InputDeviceInfo
InputEvent
InstallEvent
IntersectionObserver
IntersectionObserverEntry
InterventionReportBody
isSecureContext
LargestContentfulPaint
LayoutShift
LayoutShiftAttribution
LinearAccelerationSensor
LocalFileSystem
LocalFileSystemSync
Location
Lock
LockedFile
LockManager
Magnetometer
MathMLElement
MediaCapabilities
MediaConfiguration
MediaDecodingConfiguration
MediaDeviceInfo
MediaDevices
MediaElementAudioSourceNode
MediaEncodingConfiguration
MediaError
MediaImage
MediaKeyMessageEvent
MediaKeys
MediaKeySession
MediaKeyStatusMap
MediaKeySystemAccess
MediaList
MediaMetadata
MediaQueryList
MediaQueryListEvent
MediaRecorder
MediaRecorderErrorEvent
MediaSession
MediaSource
MediaStream
MediaStreamAudioDestinationNode
MediaStreamAudioSourceNode
MediaStreamEvent
MediaStreamTrack
MediaStreamTrackAudioSourceNode
MediaStreamTrackEvent
MediaStreamTrackGenerator
MediaStreamTrackProcessor
MediaTrackConstraints
MediaTrackSettings
MediaTrackSupportedConstraints
MerchantValidationEvent
MessageChannel
MessageEvent
MessagePort
Metadata
MIDIAccess
MIDIConnectionEvent
MIDIInput
MIDIInputMap
MIDIMessageEvent
MIDIOutput
MIDIOutputMap
MIDIPort
MimeType
MimeTypeArray
MouseEvent
MouseScrollEvent
msCaching
msCachingEnabled
MSCandidateWindowHide
MSCandidateWindowShow
MSCandidateWindowUpdate
msCapsLockWarningOff
msFirstPaint
MSGestureEvent
msGetPropertyEnabled
msGetRegionContent
MSGraphicsTrust
msGraphicsTrustStatus
msIsBoxed
MSManipulationEvent
msPlayToDisabled
msPlayToPreferredSourceUri
msPlayToPrimary
msPlayToSource
msPutPropertyEnabled
MSRangeCollection
msRealTime
msRegionOverflow
msSetMediaProtectionManager
MSSiteModeEvent
msWriteProfilerMark
MutationEvent
MutationObserver
MutationRecord
NamedNodeMap
NavigationPreloadManager
Navigator
NavigatorUAData
NDEFMessage
NDEFReader
NDEFReadingEvent
NDEFRecord
NetworkInformation
Node
NodeFilter
NodeIterator
NodeList
Notification
NotificationEvent
NotifyAudioAvailableEvent
OES_element_index_uint
OES_fbo_render_mipmap
OES_standard_derivatives
OES_texture_float
OES_texture_float_linear
OES_texture_half_float
OES_texture_half_float_linear
OES_vertex_array_object
OfflineAudioCompletionEvent
OfflineAudioContext
OffscreenCanvas
OrientationSensor
origin
OscillatorNode
OTPCredential
OverconstrainedError
OVR_multiview2
PageTransitionEvent
PaintWorklet
PannerNode
PasswordCredential
Path2D
PaymentAddress
PaymentMethodChangeEvent
PaymentRequest
PaymentRequestEvent
PaymentRequestUpdateEvent
PaymentResponse
PaymentValidationErrors
Pbkdf2Params
Performance
PerformanceElementTiming
PerformanceEntry
PerformanceEventTiming
PerformanceLongTaskTiming
PerformanceMark
PerformanceMeasure
PerformanceNavigation
PerformanceNavigationTiming
PerformanceObserver
PerformanceObserverEntryList
PerformancePaintTiming
PerformanceResourceTiming
PerformanceServerTiming
PerformanceTiming
PeriodicSyncEvent
PeriodicSyncManager
PeriodicWave
Permissions
PermissionStatus
PictureInPictureEvent
PictureInPictureWindow
Plugin
PluginArray
Point
PointerEvent
PopStateEvent
PositionSensorVRDevice
Presentation
PresentationAvailability
PresentationConnection
PresentationConnectionAvailableEvent
PresentationConnectionCloseEvent
PresentationConnectionList
PresentationReceiver
PresentationRequest
ProcessingInstruction
ProgressEvent
PromiseRejectionEvent
PublicKeyCredential
PublicKeyCredentialRequestOptions
PushEvent
PushManager
PushMessageData
PushSubscription
PushSubscriptionOptions
RadioNodeList
Range
ReadableByteStreamController
ReadableStream
ReadableStreamBYOBReader
ReadableStreamBYOBRequest
ReadableStreamDefaultController
ReadableStreamDefaultReader
RelativeOrientationSensor
RemotePlayback
Report
ReportBody
reportError()
ReportingObserver
ReportingObserverOptions
Request
ResizeObserver
ResizeObserverEntry
ResizeObserverSize
Response
RsaHashedImportParams
RsaHashedKeyGenParams
RsaOaepParams
RsaPssParams
RTCCertificate
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCError
RTCErrorEvent
RTCIceCandidate
RTCIceCandidatePair
RTCIceCandidatePairStats
RTCIceCandidateStats
RTCIceParameters
RTCIceServer
RTCIceTransport
RTCIdentityAssertion
RTCInboundRtpStreamStats
RTCOutboundRtpStreamStats
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRemoteOutboundRtpStreamStats
RTCRtcpParameters
RTCRtpCapabilities
RTCRtpCodecCapability
RTCRtpCodecParameters
RTCRtpContributingSource
RTCRtpEncodingParameters
RTCRtpParameters
RTCRtpReceiveParameters
RTCRtpReceiver
RTCRtpSender
RTCRtpSendParameters
RTCRtpStreamStats
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStats
RTCStatsIceCandidatePairState
RTCStatsReport
RTCStatsType
RTCTrackEvent
Sanitizer
Screen
ScreenOrientation
ScriptProcessorNode
SecurityPolicyViolationEvent
Selection
self.crypto
self.performance
Sensor
SensorErrorEvent
Serial
SerialPort
ServiceWorker
ServiceWorkerContainer
ServiceWorkerGlobalScope
ServiceWorkerRegistration
setInterval()
setTimeout()
ShadowRoot
SharedWorker
SharedWorkerGlobalScope
SourceBuffer
SourceBufferList
SpeechGrammar
SpeechGrammarList
SpeechRecognition
SpeechRecognitionAlternative
SpeechRecognitionError
SpeechRecognitionErrorEvent
SpeechRecognitionEvent
SpeechRecognitionResult
SpeechRecognitionResultList
SpeechSynthesis
SpeechSynthesisErrorEvent
SpeechSynthesisEvent
SpeechSynthesisUtterance
SpeechSynthesisVoice
StaticRange
StereoPannerNode
Storage
StorageEvent
StorageManager
structuredClone()
StylePropertyMap
StylePropertyMapReadOnly
StyleSheet
StyleSheetList
SubmitEvent
SubtleCrypto
SVGAElement
SVGAltGlyphDefElement
SVGAltGlyphElement
SVGAltGlyphItemElement
SVGAngle
SVGAnimateColorElement
SVGAnimatedAngle
SVGAnimatedBoolean
SVGAnimatedEnumeration
SVGAnimatedInteger
SVGAnimatedLength
SVGAnimatedLengthList
SVGAnimatedNumber
SVGAnimatedNumberList
SVGAnimatedPreserveAspectRatio
SVGAnimatedRect
SVGAnimatedString
SVGAnimatedTransformList
SVGAnimateElement
SVGAnimateMotionElement
SVGAnimateTransformElement
SVGAnimationElement
SVGCircleElement
SVGClipPathElement
SVGComponentTransferFunctionElement
SVGCursorElement
SVGDefsElement
SVGDescElement
SVGElement
SVGEllipseElement
SVGEvent
SVGFEBlendElement
SVGFEColorMatrixElement
SVGFEComponentTransferElement
SVGFECompositeElement
SVGFEConvolveMatrixElement
SVGFEDiffuseLightingElement
SVGFEDisplacementMapElement
SVGFEDistantLightElement
SVGFEDropShadowElement
SVGFEFloodElement
SVGFEFuncAElement
SVGFEFuncBElement
SVGFEFuncGElement
SVGFEFuncRElement
SVGFEGaussianBlurElement
SVGFEImageElement
SVGFEMergeElement
SVGFEMergeNodeElement
SVGFEMorphologyElement
SVGFEOffsetElement
SVGFEPointLightElement
SVGFESpecularLightingElement
SVGFESpotLightElement
SVGFETileElement
SVGFETurbulenceElement
SVGFilterElement
SVGFontElement
SVGFontFaceElement
SVGFontFaceFormatElement
SVGFontFaceNameElement
SVGFontFaceSrcElement
SVGFontFaceUriElement
SVGForeignObjectElement
SVGGElement
SVGGeometryElement
SVGGlyphElement
SVGGlyphRefElement
SVGGradientElement
SVGGraphicsElement
SVGHKernElement
SVGImageElement
SVGLength
SVGLengthList
SVGLinearGradientElement
SVGLineElement
SVGMarkerElement
SVGMaskElement
SVGMatrix
SVGMetadataElement
SVGMissingGlyphElement
SVGMPathElement
SVGNumber
SVGNumberList
SVGPathElement
SVGPatternElement
SVGPoint
SVGPointList
SVGPolygonElement
SVGPolylineElement
SVGPreserveAspectRatio
SVGRadialGradientElement
SVGRect
SVGRectElement
SVGRenderingIntent
SVGScriptElement
SVGSetElement
SVGStopElement
SVGStringList
SVGStyleElement
SVGSVGElement
SVGSwitchElement
SVGSymbolElement
SVGTextContentElement
SVGTextElement
SVGTextPathElement
SVGTextPositioningElement
SVGTitleElement
SVGTransform
SVGTransformList
SVGTRefElement
SVGTSpanElement
SVGUnitTypes
SVGUseElement
SVGViewElement
SVGVKernElement
SyncEvent
SyncManager
TaskAttributionTiming
Text
TextDecoder
TextDecoderStream
TextEncoder
TextEncoderStream
TextMetrics
TextTrack
TextTrackCue
TextTrackCueList
TextTrackList
TimeEvent
TimeRanges
Touch
TouchEvent
TouchList
TrackEvent
TransformStream
TransformStreamDefaultController
TransitionEvent
TreeWalker
TrustedHTML
TrustedScript
TrustedScriptURL
TrustedTypePolicy
TrustedTypePolicyFactory
UIEvent
URL
URLPattern
URLSearchParams
USB
USBAlternateInterface
USBConfiguration
USBConnectionEvent
USBDevice
USBEndpoint
USBInterface
USBInTransferResult
USBIsochronousInTransferPacket
USBIsochronousInTransferResult
USBIsochronousOutTransferPacket
USBIsochronousOutTransferResult
USBOutTransferResult
UserProximityEvent
USVString
ValidityState
VideoColorSpace
VideoConfiguration
VideoDecoder
VideoEncoder
VideoFrame
VideoPlaybackQuality
VideoTrack
VideoTrackList
VisualViewport
VRDisplay
VRDisplayCapabilities
VRDisplayEvent
VREyeParameters
VRFieldOfView
VRFrameData
VRLayerInit
VRPose
VRStageParameters
VTTCue
VTTRegion
WakeLock
WakeLockSentinel
WaveShaperNode
WEBGL_color_buffer_float
WEBGL_compressed_texture_astc
WEBGL_compressed_texture_etc
WEBGL_compressed_texture_etc1
WEBGL_compressed_texture_pvrtc
WEBGL_compressed_texture_s3tc
WEBGL_compressed_texture_s3tc_srgb
WEBGL_debug_renderer_info
WEBGL_debug_shaders
WEBGL_depth_texture
WEBGL_draw_buffers
WEBGL_lose_context
WEBGL_multi_draw
WebGL2RenderingContext
WebGLActiveInfo
WebGLBuffer
WebGLContextEvent
WebGLFramebuffer
WebGLProgram
WebGLQuery
WebGLRenderbuffer
WebGLRenderingContext
WebGLSampler
WebGLShader
WebGLShaderPrecisionFormat
WebGLSync
WebGLTexture
WebGLTransformFeedback
WebGLUniformLocation
WebGLVertexArrayObject
WebSocket
WheelEvent
Window
WindowClient
WindowControlsOverlay
WindowControlsOverlayGeometryChangeEvent
WindowEventHandlers
Worker
WorkerGlobalScope
WorkerLocation
WorkerNavigator
Worklet
WritableStream
WritableStreamDefaultController
WritableStreamDefaultWriter
XMLDocument
XMLHttpRequest
XMLHttpRequestEventTarget
XMLSerializer
XPathEvaluator
XPathException
XPathExpression
XPathNSResolver
XPathResult
XRAnchor
XRAnchorSet
XRBoundedReferenceSpace
XRCompositionLayer
XRCPUDepthInformation
XRCubeLayer
XRCylinderLayer
XRDepthInformation
XREquirectLayer
XRFrame
XRHand
XRHitTestResult
XRHitTestSource
XRInputSource
XRInputSourceArray
XRInputSourceEvent
XRInputSourcesChangeEvent
XRJointPose
XRJointSpace
XRLayer
XRLayerEvent
XRLightEstimate
XRLightProbe
XRMediaBinding
XRPermissionStatus
XRPose
XRProjectionLayer
XRQuadLayer
XRRay
XRReferenceSpace
XRReferenceSpaceEvent
XRRenderState
XRRigidTransform
XRSession
XRSessionEvent
XRSpace
XRSubImage
XRSystem
XRTransientInputHitTestResult
XRTransientInputHitTestSource
XRView
XRViewerPose
XRViewport
XRWebGLBinding
XRWebGLDepthInformation
XRWebGLLayer
XRWebGLSubImage
XSLTProcessor