# 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
C
- 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
D
E
F
G
H
I
L
M
- Media Capabilities API
- Media Capture and Streams
- Media Session API
- Media Source Extensions
- MediaStream Recording
N
P
- 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
R
S
- Screen Capture API
- Screen Orientation API
- Screen Wake Lock API
- Sensor API
- Server Sent Events
- Service Workers API
- Storage
- Storage Access API
- Streams
T
U
V
W
- 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
X
Interfaces
This is a list of all the interfaces (that is, types of objects) that are available.
A
AbortControllerAbortSignalAbsoluteOrientationSensorAbstractRangeAccelerometerAddressErrorsAesCbcParamsAesCtrParamsAesGcmParamsAesKeyGenParamsAmbientLightSensorAnalyserNodeANGLE_instanced_arraysAnimationAnimationEffectAnimationEventAnimationPlaybackEventAnimationTimelineArrayBufferViewatob()AttrAudioBufferAudioBufferSourceNodeAudioConfigurationAudioContextAudioDataAudioDecoderAudioDestinationNodeAudioEncoderAudioListenerAudioNodeAudioParamAudioParamDescriptorAudioParamMapAudioProcessingEventAudioScheduledSourceNodeAudioTrackAudioTrackListAudioWorkletAudioWorkletGlobalScopeAudioWorkletNodeAudioWorkletProcessorAuthenticatorAssertionResponseAuthenticatorAttestationResponseAuthenticatorResponse
B
BackgroundFetchEventBackgroundFetchManagerBackgroundFetchRecordBackgroundFetchRegistrationBackgroundFetchUpdateUIEventBarcodeDetectorBarPropBaseAudioContextBatteryManagerBeforeInstallPromptEventBeforeUnloadEventBiquadFilterNodeBlobBlobBuilderBlobEventBluetoothBluetoothCharacteristicPropertiesBluetoothDeviceBluetoothRemoteGATTCharacteristicBluetoothRemoteGATTDescriptorBluetoothRemoteGATTServerBluetoothRemoteGATTServiceBluetoothUUIDBroadcastChannelbtoa()BufferSourceByteLengthQueuingStrategy
C
CachecachesCacheStorageCanvasCaptureMediaStreamTrackCanvasGradientCanvasImageSourceCanvasPatternCanvasRenderingContext2DCaretPositionCDATASectionChannelMergerNodeChannelSplitterNodeCharacterDataclearInterval()clearTimeout()ClientClientsClipboardClipboardEventClipboardItemCloseEventCommentCompositionEventCompressionStreamconsoleConstantSourceNodeContactsManagerContentIndexContentIndexEventConvolverNodeCookieChangeEventCookieStoreCookieStoreManagerCountQueuingStrategyCrashReportBodycreateImageBitmap()CredentialCredentialsContainercrossOriginIsolatedCryptoCryptoKeyCryptoKeyPairCSSCSSAnimationCSSConditionRuleCSSCounterStyleRuleCSSFontFaceRuleCSSGroupingRuleCSSImageValueCSSImportRuleCSSKeyframeRuleCSSKeyframesRuleCSSKeywordValueCSSMathInvertCSSMathMaxCSSMathMinCSSMathNegateCSSMathProductCSSMathSumCSSMathValueCSSMatrixComponentCSSMediaRuleCSSNamespaceRuleCSSNumericArrayCSSNumericValueCSSOMStringCSSPageRuleCSSPerspectiveCSSPositionValueCSSPrimitiveValueCSSPropertyRuleCSSPseudoElementCSSRotateCSSRuleCSSRuleListCSSScaleCSSSkewCSSSkewXCSSSkewYCSSStyleDeclarationCSSStyleRuleCSSStyleSheetCSSStyleValueCSSSupportsRuleCSSTransformComponentCSSTransformValueCSSTransitionCSSTranslateCSSUnitValueCSSUnparsedValueCSSValueCSSValueListCSSVariableReferenceValueCustomElementRegistryCustomEventCustomStateSet
D
DataTransferDataTransferItemDataTransferItemListDecompressionStreamDedicatedWorkerGlobalScopeDelayNodeDeprecationReportBodyDeviceMotionEventDeviceMotionEventAccelerationDeviceMotionEventRotationRateDeviceOrientationEventDeviceProximityEventDirectoryEntrySyncDirectoryReaderSyncDisplayMediaStreamConstraintsDocumentDocumentFragmentDocumentTimelineDocumentTypeDOMErrorDOMExceptionDOMHighResTimeStampDOMImplementationDOMMatrix(WebKitCSSMatrix)DOMMatrixReadOnlyDOMParserDOMPointDOMPointReadOnlyDOMQuadDOMRectDOMRectReadOnlyDOMStringDOMStringListDOMStringMapDOMTimeStampDOMTokenListDragEventDynamicsCompressorNode
E
EcdhKeyDeriveParamsEcdsaParamsEcKeyGenParamsEcKeyImportParamsElementElementInternalsEncodedAudioChunkEncodedVideoChunkErrorEventEventEventListenerEventSourceEventTargetEXT_blend_minmaxEXT_color_buffer_floatEXT_color_buffer_half_floatEXT_disjoint_timer_queryEXT_float_blendEXT_frag_depthEXT_shader_texture_lodEXT_sRGBEXT_texture_compression_bptcEXT_texture_compression_rgtcEXT_texture_filter_anisotropicEXT_texture_norm16ExtendableCookieChangeEventExtendableEventExtendableMessageEvent
F
FeaturePolicyFederatedCredentialfetch()FetchEventFileFileEntrySyncFileExceptionFileListFileReaderFileReaderSyncFileRequestFileSystemFileSystemDirectoryEntryFileSystemDirectoryHandleFileSystemDirectoryReaderFileSystemEntryFileSystemEntrySyncFileSystemFileEntryFileSystemFileHandleFileSystemFlagsFileSystemHandleFileSystemSyncFileSystemWritableFileStreamFocusEventFontFaceFontFaceSetFontFaceSetLoadEventFormDataFormDataEntryValueFormDataEvent
G
GainNodeGamepadGamepadButtonGamepadEventGamepadHapticActuatorGamepadPoseGeolocationGeolocationCoordinatesGeolocationPositionGeolocationPositionErrorGestureEventgetCandidateWindowClientRectGlobalEventHandlersGravitySensorGyroscope
H
HashChangeEventHeadersHIDHIDConnectionEventHIDDeviceHIDInputReportEventHistoryHkdfParamsHmacImportParamsHmacKeyGenParamsHMDVRDeviceHTMLAnchorElementHTMLAreaElementHTMLAudioElementHTMLBaseElementHTMLBaseFontElementHTMLBodyElementHTMLBRElementHTMLButtonElementHTMLCanvasElementHTMLCollectionHTMLContentElementHTMLDataElementHTMLDataListElementHTMLDetailsElementHTMLDialogElementHTMLDivElementHTMLDListElementHTMLDocumentHTMLElementHTMLEmbedElementHTMLFieldSetElementHTMLFontElementHTMLFormControlsCollectionHTMLFormElementHTMLFrameSetElementHTMLHeadElementHTMLHeadingElementHTMLHRElementHTMLHtmlElementHTMLIFrameElementHTMLImageElementHTMLInputElementHTMLKeygenElementHTMLLabelElementHTMLLegendElementHTMLLIElementHTMLLinkElementHTMLMapElementHTMLMarqueeElementHTMLMediaElementHTMLMenuElementHTMLMenuItemElementHTMLMetaElementHTMLMeterElementHTMLModElementHTMLObjectElementHTMLOListElementHTMLOptGroupElementHTMLOptionElementHTMLOptionsCollectionHTMLOutputElementHTMLParagraphElementHTMLParamElementHTMLPictureElementHTMLPreElementHTMLProgressElementHTMLQuoteElementHTMLScriptElementHTMLSelectElementHTMLShadowElementHTMLSlotElementHTMLSourceElementHTMLSpanElementHTMLStyleElementHTMLTableCaptionElementHTMLTableCellElementHTMLTableColElementHTMLTableElementHTMLTableRowElementHTMLTableSectionElementHTMLTemplateElementHTMLTextAreaElementHTMLTimeElementHTMLTitleElementHTMLTrackElementHTMLUListElementHTMLUnknownElementHTMLVideoElement
I
IDBCursorIDBCursorSyncIDBCursorWithValueIDBDatabaseIDBDatabaseExceptionIDBDatabaseSyncIDBEnvironmentSyncIDBFactoryIDBFactorySyncIDBIndexIDBIndexSyncIDBKeyRangeIDBLocaleAwareKeyRangeIDBMutableFileIDBObjectStoreIDBObjectStoreSyncIDBOpenDBRequestIDBRequestIDBTransactionIDBTransactionSyncIDBVersionChangeEventIdleDeadlineIIRFilterNodeImageBitmapImageBitmapRenderingContextImageCaptureImageDataImageDecoderImageTrackImageTrackListindexedDBInputDeviceCapabilitiesInputDeviceInfoInputEventInstallEventIntersectionObserverIntersectionObserverEntryInterventionReportBodyisSecureContext
K
L
LargestContentfulPaintLayoutShiftLayoutShiftAttributionLinearAccelerationSensorLocalFileSystemLocalFileSystemSyncLocationLockLockedFileLockManager
M
MagnetometerMathMLElementMediaCapabilitiesMediaConfigurationMediaDecodingConfigurationMediaDeviceInfoMediaDevicesMediaElementAudioSourceNodeMediaEncodingConfigurationMediaErrorMediaImageMediaKeyMessageEventMediaKeysMediaKeySessionMediaKeyStatusMapMediaKeySystemAccessMediaListMediaMetadataMediaQueryListMediaQueryListEventMediaRecorderMediaRecorderErrorEventMediaSessionMediaSessionActionDetailsMediaSettingsRangeMediaSourceMediaStreamMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamAudioSourceOptionsMediaStreamConstraintsMediaStreamEventMediaStreamTrackMediaStreamTrackAudioSourceNodeMediaStreamTrackAudioSourceOptionsMediaStreamTrackEventMediaStreamTrackGeneratorMediaStreamTrackProcessorMediaTrackConstraintsMediaTrackSettingsMediaTrackSupportedConstraintsMerchantValidationEventMessageChannelMessageEventMessagePortMetadataMIDIAccessMIDIConnectionEventMIDIInputMIDIInputMapMIDIMessageEventMIDIOutputMIDIOutputMapMIDIPortMimeTypeMimeTypeArrayMouseEventMouseScrollEventmsCachingmsCachingEnabledMSCandidateWindowHideMSCandidateWindowShowMSCandidateWindowUpdatemsCapsLockWarningOffmsFirstPaintMSGestureEventmsGetPropertyEnabledmsGetRegionContentMSGraphicsTrustmsGraphicsTrustStatusmsIsBoxedMSManipulationEventmsPlayToDisabledmsPlayToPreferredSourceUrimsPlayToPrimarymsPlayToSourcemsPutPropertyEnabledMSRangeCollectionmsRealTimemsRegionOverflowmsSetMediaProtectionManagerMSSiteModeEventmsWriteProfilerMarkMutationEventMutationObserverMutationRecord
N
NamedNodeMapNavigationPreloadManagerNavigatorNavigatorUADataNDEFMessageNDEFReaderNDEFReadingEventNDEFRecordNetworkInformationNodeNodeFilterNodeIteratorNodeListNotificationNotificationActionNotificationEventNotifyAudioAvailableEvent
O
OES_element_index_uintOES_fbo_render_mipmapOES_standard_derivativesOES_texture_floatOES_texture_float_linearOES_texture_half_floatOES_texture_half_float_linearOES_vertex_array_objectOfflineAudioCompletionEventOfflineAudioContextOffscreenCanvasOrientationSensororiginOscillatorNodeOTPCredentialOverconstrainedErrorOVR_multiview2
P
PageTransitionEventPaintWorkletPannerNodePasswordCredentialPath2DPaymentAddressPaymentItemPaymentMethodChangeEventPaymentRequestPaymentRequestEventPaymentRequestUpdateEventPaymentResponsePaymentValidationErrorsPbkdf2ParamsPerformancePerformanceElementTimingPerformanceEntryPerformanceEventTimingPerformanceLongTaskTimingPerformanceMarkPerformanceMeasurePerformanceNavigationPerformanceNavigationTimingPerformanceObserverPerformanceObserverEntryListPerformancePaintTimingPerformanceResourceTimingPerformanceServerTimingPerformanceTimingPeriodicSyncEventPeriodicSyncManagerPeriodicWavePermissionsPermissionStatusPhotoCapabilitiesPictureInPictureEventPictureInPictureWindowPluginPluginArrayPointPointerEventPopStateEventPositionSensorVRDevicePresentationPresentationAvailabilityPresentationConnectionPresentationConnectionAvailableEventPresentationConnectionCloseEventPresentationConnectionListPresentationReceiverPresentationRequestProcessingInstructionProgressEventPromiseRejectionEventPublicKeyCredentialPublicKeyCredentialRequestOptionsPushEventPushManagerPushMessageDataPushSubscriptionPushSubscriptionOptions
Q
R
RadioNodeListRangeReadableByteStreamControllerReadableStreamReadableStreamBYOBReaderReadableStreamBYOBRequestReadableStreamDefaultControllerReadableStreamDefaultReaderRelativeOrientationSensorRemotePlaybackReportReportBodyreportError()ReportingObserverReportingObserverOptionsRequestResizeObserverResizeObserverEntryResizeObserverSizeResponseRsaHashedImportParamsRsaHashedKeyGenParamsRsaOaepParamsRsaPssParamsRTCAnswerOptionsRTCCertificateRTCDataChannelRTCDataChannelEventRTCDtlsTransportRTCDTMFSenderRTCDTMFToneChangeEventRTCErrorRTCErrorEventRTCIceCandidateRTCIceCandidatePairRTCIceCandidatePairStatsRTCIceCandidateStatsRTCIceCredentialTypeRTCIceParametersRTCIceRoleRTCIceServerRTCIceTransportRTCIceTransportStateRTCIdentityAssertionRTCInboundRtpStreamStatsRTCNetworkTypeRTCOfferAnswerOptionsRTCOfferOptionsRTCOutboundRtpStreamStatsRTCPeerConnectionRTCPeerConnectionIceErrorEventRTCPeerConnectionIceEventRTCRemoteOutboundRtpStreamStatsRTCRtcpParametersRTCRtpCapabilitiesRTCRtpCodecCapabilityRTCRtpCodecParametersRTCRtpContributingSourceRTCRtpEncodingParametersRTCRtpParametersRTCRtpReceiveParametersRTCRtpReceiverRTCRtpSenderRTCRtpSendParametersRTCRtpStreamStatsRTCRtpSynchronizationSourceRTCRtpTransceiverRTCRtpTransceiverDirectionRTCSctpTransportRTCSessionDescriptionRTCStatsRTCStatsIceCandidatePairStateRTCStatsReportRTCStatsTypeRTCTrackEventRTCTrackEventInit
S
SanitizerScreenScreenOrientationScriptProcessorNodeSecurityPolicyViolationEventSelectionself.cryptoself.performanceSensorSensorErrorEventSerialSerialPortServiceWorkerServiceWorkerContainerServiceWorkerGlobalScopeServiceWorkerMessageEventServiceWorkerRegistrationsetInterval()setTimeout()ShadowRootSharedWorkerSharedWorkerGlobalScopeSourceBufferSourceBufferListSpeechGrammarSpeechGrammarListSpeechRecognitionSpeechRecognitionAlternativeSpeechRecognitionErrorSpeechRecognitionErrorEventSpeechRecognitionEventSpeechRecognitionResultSpeechRecognitionResultListSpeechSynthesisSpeechSynthesisErrorEventSpeechSynthesisEventSpeechSynthesisUtteranceSpeechSynthesisVoiceStaticRangeStereoPannerNodeStorageStorageEventStorageManagerstructuredClone()StylePropertyMapStylePropertyMapReadOnlyStyleSheetStyleSheetListSubmitEventSubtleCryptoSVGAElementSVGAltGlyphDefElementSVGAltGlyphElementSVGAltGlyphItemElementSVGAngleSVGAnimateColorElementSVGAnimatedAngleSVGAnimatedBooleanSVGAnimatedEnumerationSVGAnimatedIntegerSVGAnimatedLengthSVGAnimatedLengthListSVGAnimatedNumberSVGAnimatedNumberListSVGAnimatedPreserveAspectRatioSVGAnimatedRectSVGAnimatedStringSVGAnimatedTransformListSVGAnimateElementSVGAnimateMotionElementSVGAnimateTransformElementSVGAnimationElementSVGCircleElementSVGClipPathElementSVGComponentTransferFunctionElementSVGCursorElementSVGDefsElementSVGDescElementSVGElementSVGEllipseElementSVGEventSVGFEBlendElementSVGFEColorMatrixElementSVGFEComponentTransferElementSVGFECompositeElementSVGFEConvolveMatrixElementSVGFEDiffuseLightingElementSVGFEDisplacementMapElementSVGFEDistantLightElementSVGFEDropShadowElementSVGFEFloodElementSVGFEFuncAElementSVGFEFuncBElementSVGFEFuncGElementSVGFEFuncRElementSVGFEGaussianBlurElementSVGFEImageElementSVGFEMergeElementSVGFEMergeNodeElementSVGFEMorphologyElementSVGFEOffsetElementSVGFEPointLightElementSVGFESpecularLightingElementSVGFESpotLightElementSVGFETileElementSVGFETurbulenceElementSVGFilterElementSVGFontElementSVGFontFaceElementSVGFontFaceFormatElementSVGFontFaceNameElementSVGFontFaceSrcElementSVGFontFaceUriElementSVGForeignObjectElementSVGGElementSVGGeometryElementSVGGlyphElementSVGGlyphRefElementSVGGradientElementSVGGraphicsElementSVGHKernElementSVGImageElementSVGLengthSVGLengthListSVGLinearGradientElementSVGLineElementSVGMarkerElementSVGMaskElementSVGMatrixSVGMetadataElementSVGMissingGlyphElementSVGMPathElementSVGNumberSVGNumberListSVGPathElementSVGPatternElementSVGPointSVGPointListSVGPolygonElementSVGPolylineElementSVGPreserveAspectRatioSVGRadialGradientElementSVGRectSVGRectElementSVGRenderingIntentSVGScriptElementSVGSetElementSVGStopElementSVGStringListSVGStyleElementSVGSVGElementSVGSwitchElementSVGSymbolElementSVGTextContentElementSVGTextElementSVGTextPathElementSVGTextPositioningElementSVGTitleElementSVGTransformSVGTransformListSVGTRefElementSVGTSpanElementSVGUnitTypesSVGUseElementSVGViewElementSVGVKernElementSyncEventSyncManager
T
TaskAttributionTimingTextTextDecoderTextDecoderStreamTextEncoderTextEncoderStreamTextMetricsTextTrackTextTrackCueTextTrackCueListTextTrackListTimeEventTimeRangesTouchTouchEventTouchListTrackEventTransformStreamTransformStreamDefaultControllerTransitionEventTreeWalkerTrustedHTMLTrustedScriptTrustedScriptURLTrustedTypePolicyTrustedTypePolicyFactory
U
UIEventURLURLPatternURLSearchParamsUSBUSBAlternateInterfaceUSBConfigurationUSBConnectionEventUSBDeviceUSBEndpointUSBInterfaceUSBInTransferResultUSBIsochronousInTransferPacketUSBIsochronousInTransferResultUSBIsochronousOutTransferPacketUSBIsochronousOutTransferResultUSBOutTransferResultUserProximityEventUSVString
V
ValidityStateVideoColorSpaceVideoConfigurationVideoDecoderVideoEncoderVideoFrameVideoPlaybackQualityVideoTrackVideoTrackListVisualViewportVRDisplayVRDisplayCapabilitiesVRDisplayEventVREyeParametersVRFieldOfViewVRFrameDataVRLayerInitVRPoseVRStageParametersVTTCueVTTRegion
W
WakeLockWakeLockSentinelWaveShaperNodeWEBGL_color_buffer_floatWEBGL_compressed_texture_astcWEBGL_compressed_texture_etcWEBGL_compressed_texture_etc1WEBGL_compressed_texture_pvrtcWEBGL_compressed_texture_s3tcWEBGL_compressed_texture_s3tc_srgbWEBGL_debug_renderer_infoWEBGL_debug_shadersWEBGL_depth_textureWEBGL_draw_buffersWEBGL_lose_contextWEBGL_multi_drawWebGL2RenderingContextWebGLActiveInfoWebGLBufferWebGLContextEventWebGLFramebufferWebGLProgramWebGLQueryWebGLRenderbufferWebGLRenderingContextWebGLSamplerWebGLShaderWebGLShaderPrecisionFormatWebGLSyncWebGLTextureWebGLTransformFeedbackWebGLUniformLocationWebGLVertexArrayObjectWebSocketWheelEventWindowWindowClientWindowEventHandlersWorkerWorkerGlobalScopeWorkerLocationWorkerNavigatorWorkletWritableStreamWritableStreamDefaultControllerWritableStreamDefaultWriter
X
XMLDocumentXMLHttpRequestXMLHttpRequestEventTargetXMLSerializerXPathEvaluatorXPathExceptionXPathExpressionXPathNSResolverXPathResultXRAnchorXRAnchorSetXRBoundedReferenceSpaceXRCompositionLayerXRCPUDepthInformationXRCubeLayerXRCylinderLayerXRDepthInformationXREquirectLayerXRFrameXRHandXRHitTestResultXRHitTestSourceXRInputSourceXRInputSourceArrayXRInputSourceEventXRInputSourcesChangeEventXRJointPoseXRJointSpaceXRLayerXRLayerEventXRLightEstimateXRLightProbeXRMediaBindingXRPermissionStatusXRPoseXRProjectionLayerXRQuadLayerXRRayXRReferenceSpaceXRReferenceSpaceEventXRRenderStateXRRigidTransformXRSessionXRSessionEventXRSpaceXRSubImageXRSystemXRTransientInputHitTestResultXRTransientInputHitTestSourceXRViewXRViewerPoseXRViewportXRWebGLBindingXRWebGLDepthInformationXRWebGLLayerXRWebGLSubImageXSLTProcessor
