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.
A
B
- Background Fetch API
- Background Synchronization API
- Background Tasks API
- Badging API
- Barcode Detection API
- Battery Status API
- Beacon API
- Web Bluetooth API
- Broadcast Channel API
C
- CSS Custom Highlight API
- CSS Font Loading API
- CSS Painting API
- CSS Properties and Values API
- CSS Typed Object Model API
- CSS Object Model (CSSOM)
- CSSOM view API
- Canvas API
- Channel Messaging API
- Clipboard API
- Compression Streams API
- Compute Pressure API
- Console API
- Contact Picker API
- Content Index API
- Cookie Store API
- Credential Management API
D
- Document Object Model (DOM)
- Device Memory API
- Device orientation events
- Device Posture API
- Document Picture-in-Picture API
E
F
- Federated Credential Management (FedCM) API
- Fenced Frame API
- Fetch API
- File API
- File System API
- File and Directory Entries API
- Force Touch events
- Fullscreen API
G
H
I
- Idle Detection API
- MediaStream Image Capture API
- IndexedDB API
- Ink API
- InputDeviceCapabilities API
- Insertable Streams for MediaStreamTrack API
- Intersection Observer API
- Invoker Commands API
J
K
L
M
- Media Capabilities API
- Media Capture and Streams API (Media Stream)
- Media Session API
- Media Source API
- MediaStream Recording API
N
P
- Page Visibility API
- Payment Handler API
- Payment Request API
- Performance APIs
- Web Periodic Background Synchronization API
- Permissions API
- Picture-in-Picture API
- Pointer events
- Pointer Lock API
- Popover API
- Presentation API
- Prioritized Task Scheduling API
- Push API
R
S
- SVG API
- Screen Capture API
- Screen Orientation API
- Screen Wake Lock API
- Selection API
- Sensor APIs
- Server-sent events
- Service Worker API
- Shared Storage API
- Speculation Rules API
- Storage API
- Storage Access API
- Streams API
- Summarizer API
T
U
V
W
- Web Animations API
- Web Audio API
- Web Authentication API
- Web Components
- Web Crypto API
- Web Locks API
- Web MIDI API
- Web NFC API
- Notifications API
- Web Serial API
- Web Share API
- Web Speech API
- Web Storage API
- Web Workers API
- WebCodecs API
- WebGL: 2D and 3D graphics for the web
- WebGPU API
- WebHID API
- WebOTP API
- WebRTC API
- The WebSocket API (WebSockets)
- WebTransport API
- WebUSB API
- WebVR API
- WebVTT API
- WebXR Device API
- Window Controls Overlay API
- Window Management API
X
f
Interfaces
This is a list of all the interfaces (that is, types of objects) that are available.
A
AbortControllerAbortSignalAbsoluteOrientationSensorAbstractRangeAccelerometerAesCbcParamsAesCtrParamsAesDerivedKeyParamsAesGcmParamsAesKeyGenParamsAmbientLightSensorAnalyserNodeANGLE_instanced_arraysAnimationAnimationEffectAnimationEventAnimationPlaybackEventAnimationTimelineAttrAudioBufferAudioBufferSourceNodeAudioContextAudioDataAudioDecoderAudioDestinationNodeAudioEncoderAudioListenerAudioNodeAudioParamAudioParamDescriptorAudioParamMapAudioProcessingEventAudioScheduledSourceNodeAudioSinkInfoAudioTrackAudioTrackListAudioWorkletAudioWorkletGlobalScopeAudioWorkletNodeAudioWorkletProcessorAuthenticatorAssertionResponseAuthenticatorAttestationResponseAuthenticatorResponse
B
BackgroundFetchEventBackgroundFetchManagerBackgroundFetchRecordBackgroundFetchRegistrationBackgroundFetchUpdateUIEventBarcodeDetectorBarPropBaseAudioContextBatteryManagerBeforeInstallPromptEventBeforeUnloadEventBiquadFilterNodeBlobBlobEventBluetoothBluetoothCharacteristicPropertiesBluetoothDeviceBluetoothRemoteGATTCharacteristicBluetoothRemoteGATTDescriptorBluetoothRemoteGATTServerBluetoothRemoteGATTServiceBluetoothUUIDBroadcastChannelBrowserCaptureMediaStreamTrackByteLengthQueuingStrategy
C
CacheCacheStorageCanMakePaymentEventCanvasCaptureMediaStreamTrackCanvasGradientCanvasPatternCanvasRenderingContext2DCaptureControllerCaretPositionCDATASectionChannelMergerNodeChannelSplitterNodeChapterInformationCharacterBoundsUpdateEventCharacterDataClientClientsClipboardClipboardEventClipboardItemCloseEventCloseWatcherCommandEventCommentCompositionEventCompressionStream
c
C
ConstantSourceNodeContactAddressContactsManagerContentIndexContentIndexEventContentVisibilityAutoStateChangeEventConvolverNodeCookieChangeEventCookieStoreCookieStoreManagerCountQueuingStrategyCreateMonitorCredentialCredentialsContainerCropTargetCryptoCryptoKeyCryptoKeyPairCSPViolationReportBodyCSSCSSAnimationCSSConditionRuleCSSContainerRuleCSSCounterStyleRuleCSSFontFaceRuleCSSFontFeatureValuesRuleCSSFontPaletteValuesRuleCSSFunctionDeclarationsCSSFunctionDescriptorsCSSFunctionRuleCSSGroupingRuleCSSImageValueCSSImportRuleCSSKeyframeRuleCSSKeyframesRuleCSSKeywordValueCSSLayerBlockRuleCSSLayerStatementRuleCSSMathInvertCSSMathMaxCSSMathMinCSSMathNegateCSSMathProductCSSMathSumCSSMathValueCSSMatrixComponentCSSMediaRuleCSSNamespaceRuleCSSNestedDeclarationsCSSNumericArrayCSSNumericValueCSSPageDescriptorsCSSPageRuleCSSPerspectiveCSSPositionTryDescriptorsCSSPositionTryRuleCSSPositionValueCSSPrimitiveValueCSSPropertyRuleCSSPseudoElementCSSRotateCSSRuleCSSRuleListCSSScaleCSSScopeRuleCSSSkewCSSSkewXCSSSkewYCSSStartingStyleRuleCSSStyleDeclarationCSSStylePropertiesCSSStyleRuleCSSStyleSheetCSSStyleValueCSSSupportsRuleCSSTransformComponentCSSTransformValueCSSTransitionCSSTranslateCSSUnitValueCSSUnparsedValueCSSValueCSSValueListCSSVariableReferenceValueCustomElementRegistryCustomEventCustomStateSet
D
DataTransferDataTransferItemDataTransferItemListDecompressionStreamDedicatedWorkerGlobalScopeDeferredRequestInitDelayNodeDelegatedInkTrailPresenterDeprecationReportBodyDeviceMotionEventDeviceMotionEventAccelerationDeviceMotionEventRotationRateDeviceOrientationEventDevicePostureDirectoryEntrySyncDirectoryReaderSyncDocumentDocumentFragmentDocumentPictureInPictureDocumentPictureInPictureEventDocumentTimelineDocumentTypeDOMErrorDOMExceptionDOMHighResTimeStampDOMImplementationDOMMatrixDOMMatrixReadOnlyDOMParserDOMPointDOMPointReadOnlyDOMQuadDOMRectDOMRectListDOMRectReadOnlyDOMStringListDOMStringMapDOMTokenListDragEventDynamicsCompressorNode
E
EcdhKeyDeriveParamsEcdsaParamsEcKeyGenParamsEcKeyImportParamsEditContextElementElementInternalsEncodedAudioChunkEncodedVideoChunkErrorEventEventEventCountsEventSourceEventTargetExtendableCookieChangeEventExtendableEventExtendableMessageEventEyeDropper
F
FeaturePolicyFederatedCredentialFederatedCredentialInitFenceFencedFrameConfigFetchEventFetchLaterResultFileFileEntrySyncFileListFileReaderFileReaderSyncFileSystemFileSystemChangeRecordFileSystemDirectoryEntryFileSystemDirectoryHandleFileSystemDirectoryReaderFileSystemEntryFileSystemFileEntryFileSystemFileHandleFileSystemHandleFileSystemObserverFileSystemSyncFileSystemSyncAccessHandleFileSystemWritableFileStreamFocusEventFontDataFontFaceFontFaceSetFontFaceSetLoadEventFormDataFormDataEventFragmentDirective
G
GainNodeGamepadGamepadButtonGamepadEventGamepadHapticActuatorGamepadPoseGeolocationGeolocationCoordinatesGeolocationPositionGeolocationPositionErrorGestureEventGPUGPUAdapterGPUAdapterInfoGPUBindGroupGPUBindGroupLayoutGPUBufferGPUCanvasContextGPUCommandBufferGPUCommandEncoderGPUCompilationInfoGPUCompilationMessageGPUComputePassEncoderGPUComputePipelineGPUDeviceGPUDeviceLostInfoGPUErrorGPUExternalTextureGPUInternalErrorGPUOutOfMemoryErrorGPUPipelineErrorGPUPipelineLayoutGPUQuerySetGPUQueueGPURenderBundleGPURenderBundleEncoderGPURenderPassEncoderGPURenderPipelineGPUSamplerGPUShaderModuleGPUSupportedFeaturesGPUSupportedLimitsGPUTextureGPUTextureViewGPUUncapturedErrorEventGPUValidationErrorGravitySensorGyroscope
H
HashChangeEventHeadersHIDHIDConnectionEventHIDDeviceHIDInputReportEventHighlightHighlightRegistryHistoryHkdfParamsHmacImportParamsHmacKeyGenParamsHMDVRDeviceHTMLAllCollectionHTMLAnchorElementHTMLAreaElementHTMLAudioElementHTMLBaseElementHTMLBodyElementHTMLBRElementHTMLButtonElementHTMLCanvasElementHTMLCollectionHTMLDataElementHTMLDataListElementHTMLDetailsElementHTMLDialogElementHTMLDivElementHTMLDListElementHTMLDocumentHTMLElementHTMLEmbedElementHTMLFencedFrameElementHTMLFieldSetElementHTMLFontElementHTMLFormControlsCollectionHTMLFormElementHTMLFrameSetElementHTMLHeadElementHTMLHeadingElementHTMLHRElementHTMLHtmlElementHTMLIFrameElementHTMLImageElementHTMLInputElementHTMLLabelElementHTMLLegendElementHTMLLIElementHTMLLinkElementHTMLMapElementHTMLMarqueeElementHTMLMediaElementHTMLMenuElementHTMLMetaElementHTMLMeterElementHTMLModElementHTMLObjectElementHTMLOListElementHTMLOptGroupElementHTMLOptionElementHTMLOptionsCollectionHTMLOutputElementHTMLParagraphElementHTMLParamElementHTMLPictureElementHTMLPreElementHTMLProgressElementHTMLQuoteElementHTMLScriptElementHTMLSelectedContentElementHTMLSelectElementHTMLSlotElementHTMLSourceElementHTMLSpanElementHTMLStyleElementHTMLTableCaptionElementHTMLTableCellElementHTMLTableColElementHTMLTableElementHTMLTableRowElementHTMLTableSectionElementHTMLTemplateElementHTMLTextAreaElementHTMLTimeElementHTMLTitleElementHTMLTrackElementHTMLUListElementHTMLUnknownElementHTMLVideoElement
I
IDBCursorIDBCursorWithValueIDBDatabaseIDBFactoryIDBIndexIDBKeyRangeIDBObjectStoreIDBOpenDBRequestIDBRequestIDBTransactionIDBVersionChangeEventIdentityCredentialIdentityCredentialErrorIdentityCredentialRequestOptionsIdentityProviderIdleDeadlineIdleDetectorIIRFilterNodeImageBitmapImageBitmapRenderingContextImageCaptureImageDataImageDecoderImageTrackImageTrackListInkInputDeviceCapabilitiesInputDeviceInfoInputEventInstallEventIntegrityViolationReportBodyIntersectionObserverIntersectionObserverEntryInterventionReportBody
K
L
LanguageDetectorLargestContentfulPaintLaunchParamsLaunchQueueLayoutShiftLayoutShiftAttributionLinearAccelerationSensorLocationLockLockManager
M
MagnetometerMathMLElementMediaCapabilitiesMediaDeviceInfoMediaDevicesMediaElementAudioSourceNodeMediaEncryptedEventMediaErrorMediaKeyMessageEventMediaKeysMediaKeySessionMediaKeyStatusMapMediaKeySystemAccessMediaListMediaMetadataMediaQueryListMediaQueryListEventMediaRecorderMediaRecorderErrorEventMediaSessionMediaSourceMediaSourceHandleMediaStreamMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamEventMediaStreamTrackMediaStreamTrackAudioSourceNodeMediaStreamTrackEventMediaStreamTrackGeneratorMediaStreamTrackProcessorMediaTrackConstraintsMediaTrackSettingsMediaTrackSupportedConstraintsMerchantValidationEventMessageChannelMessageEventMessagePortMetadataMIDIAccessMIDIConnectionEventMIDIInputMIDIInputMapMIDIMessageEventMIDIOutputMIDIOutputMapMIDIPortMimeTypeMimeTypeArrayMouseEventMouseScrollEventMutationEventMutationObserverMutationRecord
N
NamedNodeMapNavigateEventNavigationNavigationActivationNavigationCurrentEntryChangeEventNavigationDestinationNavigationHistoryEntryNavigationPreloadManagerNavigationTransitionNavigatorNavigatorLoginNavigatorUADataNDEFMessageNDEFReaderNDEFReadingEventNDEFRecordNetworkInformationNodeNodeIteratorNodeListNotificationNotificationEventNotRestoredReasonDetailsNotRestoredReasons
O
OES_draw_buffers_indexedOfflineAudioCompletionEventOfflineAudioContextOffscreenCanvasOffscreenCanvasRenderingContext2DOrientationSensorOscillatorNodeOTPCredentialOverconstrainedError
P
PageRevealEventPageSwapEventPageTransitionEventPaintRenderingContext2DPaintSizePaintWorkletGlobalScopePannerNodePasswordCredentialPasswordCredentialInitPath2DPaymentAddressPaymentManagerPaymentMethodChangeEventPaymentRequestPaymentRequestEventPaymentRequestUpdateEventPaymentResponsePbkdf2ParamsPerformancePerformanceElementTimingPerformanceEntryPerformanceEventTimingPerformanceLongAnimationFrameTimingPerformanceLongTaskTimingPerformanceMarkPerformanceMeasurePerformanceNavigationPerformanceNavigationTimingPerformanceObserverPerformanceObserverEntryListPerformancePaintTimingPerformanceResourceTimingPerformanceScriptTimingPerformanceServerTimingPerformanceTimingPeriodicSyncEventPeriodicSyncManagerPeriodicWavePermissionsPermissionStatusPictureInPictureEventPictureInPictureWindowPluginPluginArrayPointPointerEventPopStateEventPositionSensorVRDevicePresentationPresentationAvailabilityPresentationConnectionPresentationConnectionAvailableEventPresentationConnectionCloseEventPresentationConnectionListPresentationReceiverPresentationRequestPressureObserverPressureRecordProcessingInstructionProfilerProgressEventPromiseRejectionEventPublicKeyCredentialPublicKeyCredentialCreationOptionsPublicKeyCredentialRequestOptionsPushEventPushManagerPushMessageDataPushSubscriptionPushSubscriptionOptions
Q
R
RadioNodeListRangeReadableByteStreamControllerReadableStreamReadableStreamBYOBReaderReadableStreamBYOBRequestReadableStreamDefaultControllerReadableStreamDefaultReaderRelativeOrientationSensorRemotePlaybackReportReportBodyReportingObserverRequestRequestInitResizeObserverResizeObserverEntryResizeObserverSizeResponseRestrictionTargetRsaHashedImportParamsRsaHashedKeyGenParamsRsaOaepParamsRsaPssParamsRTCAudioSourceStatsRTCCertificateRTCCertificateStatsRTCCodecStatsRTCDataChannelRTCDataChannelEventRTCDataChannelStatsRTCDtlsTransportRTCDTMFSenderRTCDTMFToneChangeEventRTCEncodedAudioFrameRTCEncodedVideoFrameRTCErrorRTCErrorEventRTCIceCandidateRTCIceCandidatePairRTCIceCandidatePairStatsRTCIceCandidateStatsRTCIceParametersRTCIceTransportRTCIdentityAssertionRTCInboundRtpStreamStatsRTCOutboundRtpStreamStatsRTCPeerConnectionRTCPeerConnectionIceErrorEventRTCPeerConnectionIceEventRTCPeerConnectionStatsRTCRemoteInboundRtpStreamStatsRTCRemoteOutboundRtpStreamStatsRTCRtpReceiverRTCRtpScriptTransformRTCRtpScriptTransformerRTCRtpSenderRTCRtpTransceiverRTCSctpTransportRTCSessionDescriptionRTCStatsReportRTCTrackEventRTCTransformEventRTCTransportStatsRTCVideoSourceStats
S
SanitizerSanitizerConfigSchedulerSchedulingScreenScreenDetailedScreenDetailsScreenOrientationScriptProcessorNodeScrollTimelineSecurePaymentConfirmationRequestSecurityPolicyViolationEventSelectionSensorSensorErrorEventSerialSerialPortServiceWorkerServiceWorkerContainerServiceWorkerGlobalScopeServiceWorkerRegistrationShadowRootSharedStorageSharedStorageOperationSharedStorageRunOperationSharedStorageSelectURLOperationSharedStorageWorkletSharedStorageWorkletGlobalScopeSharedWorkerSharedWorkerGlobalScopeSnapEventSourceBufferSourceBufferListSpeechGrammarSpeechGrammarListSpeechRecognitionSpeechRecognitionAlternativeSpeechRecognitionErrorEventSpeechRecognitionEventSpeechRecognitionPhraseSpeechRecognitionResultSpeechRecognitionResultListSpeechSynthesisSpeechSynthesisErrorEventSpeechSynthesisEventSpeechSynthesisUtteranceSpeechSynthesisVoiceStaticRangeStereoPannerNodeStorageStorageAccessHandleStorageEventStorageManagerStylePropertyMapStylePropertyMapReadOnlyStyleSheetStyleSheetListSubmitEventSubtleCryptoSummarizerSVGAElementSVGAngleSVGAnimateColorElementSVGAnimatedAngleSVGAnimatedBooleanSVGAnimatedEnumerationSVGAnimatedIntegerSVGAnimatedLengthSVGAnimatedLengthListSVGAnimatedNumberSVGAnimatedNumberListSVGAnimatedPreserveAspectRatioSVGAnimatedRectSVGAnimatedStringSVGAnimatedTransformListSVGAnimateElementSVGAnimateMotionElementSVGAnimateTransformElementSVGAnimationElementSVGCircleElementSVGClipPathElementSVGComponentTransferFunctionElementSVGDefsElementSVGDescElementSVGDiscardElementSVGElementSVGEllipseElementSVGFEBlendElementSVGFEColorMatrixElementSVGFEComponentTransferElementSVGFECompositeElementSVGFEConvolveMatrixElementSVGFEDiffuseLightingElementSVGFEDisplacementMapElementSVGFEDistantLightElementSVGFEDropShadowElementSVGFEFloodElementSVGFEFuncAElementSVGFEFuncBElementSVGFEFuncGElementSVGFEFuncRElementSVGFEGaussianBlurElementSVGFEImageElementSVGFEMergeElementSVGFEMergeNodeElementSVGFEMorphologyElementSVGFEOffsetElementSVGFEPointLightElementSVGFESpecularLightingElementSVGFESpotLightElementSVGFETileElementSVGFETurbulenceElementSVGFilterElementSVGForeignObjectElementSVGGElementSVGGeometryElementSVGGradientElementSVGGraphicsElementSVGImageElementSVGLengthSVGLengthListSVGLinearGradientElementSVGLineElementSVGMarkerElementSVGMaskElementSVGMetadataElementSVGMPathElementSVGNumberSVGNumberListSVGPathElementSVGPatternElementSVGPointSVGPointListSVGPolygonElementSVGPolylineElementSVGPreserveAspectRatioSVGRadialGradientElementSVGRectSVGRectElementSVGRenderingIntentSVGScriptElementSVGSetElementSVGStopElementSVGStringListSVGStyleElementSVGSVGElementSVGSwitchElementSVGSymbolElementSVGTextContentElementSVGTextElementSVGTextPathElementSVGTextPositioningElementSVGTitleElementSVGTransformSVGTransformListSVGTSpanElementSVGUnitTypesSVGUseElementSVGViewElementSyncEventSyncManager
T
TaskAttributionTimingTaskControllerTaskPriorityChangeEventTaskSignalTextTextDecoderTextDecoderStreamTextEncoderTextEncoderStreamTextEventTextFormatTextFormatUpdateEventTextMetricsTextTrackTextTrackCueTextTrackCueListTextTrackListTextUpdateEventTimeEventTimeRangesToggleEventTouchTouchEventTouchListTrackEventTransformStreamTransformStreamDefaultControllerTransitionEventTranslatorTreeWalkerTrustedHTMLTrustedScriptTrustedScriptURLTrustedTypePolicyTrustedTypePolicyFactory
U
UIEventURLURLPatternURLSearchParamsUSBUSBAlternateInterfaceUSBConfigurationUSBConnectionEventUSBDeviceUSBEndpointUSBInterfaceUSBInTransferResultUSBIsochronousInTransferPacketUSBIsochronousInTransferResultUSBIsochronousOutTransferPacketUSBIsochronousOutTransferResultUSBOutTransferResultUserActivation
V
ValidityStateVideoColorSpaceVideoDecoderVideoEncoderVideoFrameVideoPlaybackQualityVideoTrackVideoTrackGeneratorVideoTrackListViewportViewTimelineViewTransitionVirtualKeyboardVisibilityStateEntryVisualViewportVRDisplayVRDisplayCapabilitiesVRDisplayEventVREyeParametersVRFieldOfViewVRFrameDataVRLayerInitVRPoseVRStageParametersVTTCueVTTRegion
W
WakeLockWakeLockSentinelWaveShaperNodeWebGL2RenderingContextWebGLActiveInfoWebGLBufferWebGLContextEventWebGLFramebufferWebGLObjectWebGLProgramWebGLQueryWebGLRenderbufferWebGLRenderingContextWebGLSamplerWebGLShaderWebGLShaderPrecisionFormatWebGLSyncWebGLTextureWebGLTransformFeedbackWebGLUniformLocationWebGLVertexArrayObjectWebSocketWebSocketStreamWebTransportWebTransportBidirectionalStreamWebTransportDatagramDuplexStreamWebTransportErrorWebTransportReceiveStreamWebTransportSendStreamWGSLLanguageFeaturesWheelEventWindowWindowClientWindowControlsOverlayWindowControlsOverlayGeometryChangeEventWindowSharedStorageWorkerWorkerGlobalScopeWorkerLocationWorkerNavigatorWorkletWorkletGlobalScopeWorkletSharedStorageWritableStreamWritableStreamDefaultControllerWritableStreamDefaultWriter
X
XMLDocumentXMLHttpRequestXMLHttpRequestEventTargetXMLHttpRequestUploadXMLSerializerXPathEvaluatorXPathExpressionXPathResultXRAnchorXRAnchorSetXRBoundedReferenceSpaceXRCompositionLayerXRCPUDepthInformationXRCubeLayerXRCylinderLayerXRDepthInformationXREquirectLayerXRFrameXRHandXRHitTestResultXRHitTestSourceXRInputSourceXRInputSourceArrayXRInputSourceEventXRInputSourcesChangeEventXRJointPoseXRJointSpaceXRLayerXRLayerEventXRLightEstimateXRLightProbeXRMediaBindingXRPoseXRProjectionLayerXRQuadLayerXRRayXRReferenceSpaceXRReferenceSpaceEventXRRenderStateXRRigidTransformXRSessionXRSessionEventXRSpaceXRSubImageXRSystemXRTransientInputHitTestResultXRTransientInputHitTestSourceXRViewXRViewerPoseXRViewportXRWebGLBindingXRWebGLDepthInformationXRWebGLLayerXRWebGLSubImageXSLTProcessor

