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
AbortControllerAbortSignalAbsoluteOrientationSensorAbstractRangeAccelerometerAddressErrorsAesCbcParamsAesCtrParamsAesGcmParamsAesKeyGenParamsAmbientLightSensorAnalyserNodeANGLE_instanced_arraysAnimationAnimationEffectAnimationEventAnimationPlaybackEventAnimationTimelineArrayBufferViewatob()AttrAudioBufferAudioBufferSourceNodeAudioConfigurationAudioContextAudioDataAudioDecoderAudioDestinationNodeAudioEncoderAudioListenerAudioNodeAudioParamAudioParamDescriptorAudioParamMapAudioProcessingEventAudioScheduledSourceNodeAudioTrackAudioTrackListAudioWorkletAudioWorkletGlobalScopeAudioWorkletNodeAudioWorkletProcessorAuthenticatorAssertionResponseAuthenticatorAttestationResponseAuthenticatorResponse
BackgroundFetchEventBackgroundFetchManagerBackgroundFetchRecordBackgroundFetchRegistrationBackgroundFetchUpdateUIEventBarcodeDetectorBarPropBaseAudioContextBatteryManagerBeforeInstallPromptEventBeforeUnloadEventBiquadFilterNodeBlobBlobBuilderBlobEventBluetoothBluetoothCharacteristicPropertiesBluetoothDeviceBluetoothRemoteGATTCharacteristicBluetoothRemoteGATTDescriptorBluetoothRemoteGATTServerBluetoothRemoteGATTServiceBluetoothUUIDBroadcastChannelbtoa()BufferSourceByteLengthQueuingStrategy
CachecachesCacheStorageCanvasCaptureMediaStreamTrackCanvasGradientCanvasImageSourceCanvasPatternCanvasRenderingContext2DCaretPositionCDATASectionChannelMergerNodeChannelSplitterNodeCharacterDataclearInterval()clearTimeout()ClientClientsClipboardClipboardEventClipboardItemCloseEventCommentCompositionEventCompressionStreamconsoleConstantSourceNodeContactAddressContactsManagerContentIndexContentIndexEventConvolverNodeCookieChangeEventCookieStoreCookieStoreManagerCountQueuingStrategyCrashReportBodycreateImageBitmap()CredentialCredentialsContainercrossOriginIsolatedCryptoCryptoKeyCryptoKeyPairCSSCSSAnimationCSSConditionRuleCSSCounterStyleRuleCSSFontFaceRuleCSSGroupingRuleCSSImageValueCSSImportRuleCSSKeyframeRuleCSSKeyframesRuleCSSKeywordValueCSSMathInvertCSSMathMaxCSSMathMinCSSMathNegateCSSMathProductCSSMathSumCSSMathValueCSSMatrixComponentCSSMediaRuleCSSNamespaceRuleCSSNumericArrayCSSNumericValueCSSOMStringCSSPageRuleCSSPerspectiveCSSPositionValueCSSPrimitiveValueCSSPropertyRuleCSSPseudoElementCSSRotateCSSRuleCSSRuleListCSSScaleCSSSkewCSSSkewXCSSSkewYCSSStyleDeclarationCSSStyleRuleCSSStyleSheetCSSStyleValueCSSSupportsRuleCSSTransformComponentCSSTransformValueCSSTransitionCSSTranslateCSSUnitValueCSSUnparsedValueCSSValueCSSValueListCSSVariableReferenceValueCustomElementRegistryCustomEventCustomStateSet
DataTransferDataTransferItemDataTransferItemListDecompressionStreamDedicatedWorkerGlobalScopeDelayNodeDeprecationReportBodyDeviceMotionEventDeviceMotionEventAccelerationDeviceMotionEventRotationRateDeviceOrientationEventDeviceProximityEventDirectoryEntrySyncDirectoryReaderSyncDocumentDocumentFragmentDocumentTimelineDocumentTypeDOMErrorDOMExceptionDOMHighResTimeStampDOMImplementationDOMMatrix(WebKitCSSMatrix)DOMMatrixReadOnlyDOMParserDOMPointDOMPointReadOnlyDOMQuadDOMRectDOMRectReadOnlyDOMStringDOMStringListDOMStringMapDOMTimeStampDOMTokenListDragEventDynamicsCompressorNode
EcdhKeyDeriveParamsEcdsaParamsEcKeyGenParamsEcKeyImportParamsElementElementInternalsEncodedAudioChunkEncodedVideoChunkEpochTimeStampErrorEventEventEventListenerEventSourceEventTargetEXT_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_norm16ExtendableCookieChangeEventExtendableEventExtendableMessageEventEyeDropper
FeaturePolicyFederatedCredentialfetch()FetchEventFileFileEntrySyncFileExceptionFileListFileReaderFileReaderSyncFileRequestFileSystemFileSystemDirectoryEntryFileSystemDirectoryHandleFileSystemDirectoryReaderFileSystemEntryFileSystemEntrySyncFileSystemFileEntryFileSystemFileHandleFileSystemHandleFileSystemSyncFileSystemWritableFileStreamFocusEventFontFaceFontFaceSetFontFaceSetLoadEventFormDataFormDataEntryValueFormDataEvent
GainNodeGamepadGamepadButtonGamepadEventGamepadHapticActuatorGamepadPoseGeolocationGeolocationCoordinatesGeolocationPositionGeolocationPositionErrorGestureEventgetCandidateWindowClientRectGlobalEventHandlersGravitySensorGyroscope
HashChangeEventHeadersHIDHIDConnectionEventHIDDeviceHIDInputReportEventHistoryHkdfParamsHmacImportParamsHmacKeyGenParamsHMDVRDeviceHTMLAnchorElementHTMLAreaElementHTMLAudioElementHTMLBaseElementHTMLBaseFontElementHTMLBodyElementHTMLBRElementHTMLButtonElementHTMLCanvasElementHTMLCollectionHTMLContentElementHTMLDataElementHTMLDataListElementHTMLDetailsElementHTMLDialogElementHTMLDivElementHTMLDListElementHTMLDocumentHTMLElementHTMLEmbedElementHTMLFieldSetElementHTMLFontElementHTMLFormControlsCollectionHTMLFormElementHTMLFrameSetElementHTMLHeadElementHTMLHeadingElementHTMLHRElementHTMLHtmlElementHTMLIFrameElementHTMLImageElementHTMLInputElementHTMLKeygenElementHTMLLabelElementHTMLLegendElementHTMLLIElementHTMLLinkElementHTMLMapElementHTMLMarqueeElementHTMLMediaElementHTMLMenuElementHTMLMenuItemElementHTMLMetaElementHTMLMeterElementHTMLModElementHTMLObjectElementHTMLOListElementHTMLOptGroupElementHTMLOptionElementHTMLOptionsCollectionHTMLOutputElementHTMLParagraphElementHTMLParamElementHTMLPictureElementHTMLPreElementHTMLProgressElementHTMLQuoteElementHTMLScriptElementHTMLSelectElementHTMLShadowElementHTMLSlotElementHTMLSourceElementHTMLSpanElementHTMLStyleElementHTMLTableCaptionElementHTMLTableCellElementHTMLTableColElementHTMLTableElementHTMLTableRowElementHTMLTableSectionElementHTMLTemplateElementHTMLTextAreaElementHTMLTimeElementHTMLTitleElementHTMLTrackElementHTMLUListElementHTMLUnknownElementHTMLVideoElement
IDBCursorIDBCursorWithValueIDBDatabaseIDBFactoryIDBIndexIDBKeyRangeIDBLocaleAwareKeyRangeIDBMutableFileIDBObjectStoreIDBOpenDBRequestIDBRequestIDBTransactionIDBVersionChangeEventIdleDeadlineIdleDetectorIIRFilterNodeImageBitmapImageBitmapRenderingContextImageCaptureImageDataImageDecoderImageTrackImageTrackListindexedDBInputDeviceCapabilitiesInputDeviceInfoInputEventInstallEventIntersectionObserverIntersectionObserverEntryInterventionReportBodyisSecureContext
LargestContentfulPaintLayoutShiftLayoutShiftAttributionLinearAccelerationSensorLocalFileSystemLocalFileSystemSyncLocationLockLockedFileLockManager
MagnetometerMathMLElementMediaCapabilitiesMediaConfigurationMediaDecodingConfigurationMediaDeviceInfoMediaDevicesMediaElementAudioSourceNodeMediaEncodingConfigurationMediaErrorMediaImageMediaKeyMessageEventMediaKeysMediaKeySessionMediaKeyStatusMapMediaKeySystemAccessMediaListMediaMetadataMediaQueryListMediaQueryListEventMediaRecorderMediaRecorderErrorEventMediaSessionMediaSourceMediaStreamMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamEventMediaStreamTrackMediaStreamTrackAudioSourceNodeMediaStreamTrackEventMediaStreamTrackGeneratorMediaStreamTrackProcessorMediaTrackConstraintsMediaTrackSettingsMediaTrackSupportedConstraintsMerchantValidationEventMessageChannelMessageEventMessagePortMetadataMIDIAccessMIDIConnectionEventMIDIInputMIDIInputMapMIDIMessageEventMIDIOutputMIDIOutputMapMIDIPortMimeTypeMimeTypeArrayMouseEventMouseScrollEventmsCachingmsCachingEnabledMSCandidateWindowHideMSCandidateWindowShowMSCandidateWindowUpdatemsCapsLockWarningOffmsFirstPaintMSGestureEventmsGetPropertyEnabledmsGetRegionContentMSGraphicsTrustmsGraphicsTrustStatusmsIsBoxedMSManipulationEventmsPlayToDisabledmsPlayToPreferredSourceUrimsPlayToPrimarymsPlayToSourcemsPutPropertyEnabledMSRangeCollectionmsRealTimemsRegionOverflowmsSetMediaProtectionManagerMSSiteModeEventmsWriteProfilerMarkMutationEventMutationObserverMutationRecord
NamedNodeMapNavigationPreloadManagerNavigatorNavigatorUADataNDEFMessageNDEFReaderNDEFReadingEventNDEFRecordNetworkInformationNodeNodeFilterNodeIteratorNodeListNotificationNotificationEventNotifyAudioAvailableEvent
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
PageTransitionEventPaintWorkletPannerNodePasswordCredentialPath2DPaymentAddressPaymentMethodChangeEventPaymentRequestPaymentRequestEventPaymentRequestUpdateEventPaymentResponsePaymentValidationErrorsPbkdf2ParamsPerformancePerformanceElementTimingPerformanceEntryPerformanceEventTimingPerformanceLongTaskTimingPerformanceMarkPerformanceMeasurePerformanceNavigationPerformanceNavigationTimingPerformanceObserverPerformanceObserverEntryListPerformancePaintTimingPerformanceResourceTimingPerformanceServerTimingPerformanceTimingPeriodicSyncEventPeriodicSyncManagerPeriodicWavePermissionsPermissionStatusPictureInPictureEventPictureInPictureWindowPluginPluginArrayPointPointerEventPopStateEventPositionSensorVRDevicePresentationPresentationAvailabilityPresentationConnectionPresentationConnectionAvailableEventPresentationConnectionCloseEventPresentationConnectionListPresentationReceiverPresentationRequestProcessingInstructionProgressEventPromiseRejectionEventPublicKeyCredentialPublicKeyCredentialRequestOptionsPushEventPushManagerPushMessageDataPushSubscriptionPushSubscriptionOptions
RadioNodeListRangeReadableByteStreamControllerReadableStreamReadableStreamBYOBReaderReadableStreamBYOBRequestReadableStreamDefaultControllerReadableStreamDefaultReaderRelativeOrientationSensorRemotePlaybackReportReportBodyreportError()ReportingObserverReportingObserverOptionsRequestResizeObserverResizeObserverEntryResizeObserverSizeResponseRsaHashedImportParamsRsaHashedKeyGenParamsRsaOaepParamsRsaPssParamsRTCCertificateRTCDataChannelRTCDataChannelEventRTCDtlsTransportRTCDTMFSenderRTCDTMFToneChangeEventRTCErrorRTCErrorEventRTCIceCandidateRTCIceCandidatePairRTCIceCandidatePairStatsRTCIceCandidateStatsRTCIceParametersRTCIceServerRTCIceTransportRTCIdentityAssertionRTCInboundRtpStreamStatsRTCOutboundRtpStreamStatsRTCPeerConnectionRTCPeerConnectionIceErrorEventRTCPeerConnectionIceEventRTCRemoteOutboundRtpStreamStatsRTCRtcpParametersRTCRtpCapabilitiesRTCRtpCodecCapabilityRTCRtpCodecParametersRTCRtpContributingSourceRTCRtpEncodingParametersRTCRtpParametersRTCRtpReceiveParametersRTCRtpReceiverRTCRtpSenderRTCRtpSendParametersRTCRtpStreamStatsRTCRtpTransceiverRTCSctpTransportRTCSessionDescriptionRTCStatsRTCStatsIceCandidatePairStateRTCStatsReportRTCStatsTypeRTCTrackEvent
SanitizerScreenScreenOrientationScriptProcessorNodeSecurityPolicyViolationEventSelectionself.cryptoself.performanceSensorSensorErrorEventSerialSerialPortServiceWorkerServiceWorkerContainerServiceWorkerGlobalScopeServiceWorkerRegistrationsetInterval()setTimeout()ShadowRootSharedWorkerSharedWorkerGlobalScopeSourceBufferSourceBufferListSpeechGrammarSpeechGrammarListSpeechRecognitionSpeechRecognitionAlternativeSpeechRecognitionErrorSpeechRecognitionErrorEventSpeechRecognitionEventSpeechRecognitionResultSpeechRecognitionResultListSpeechSynthesisSpeechSynthesisErrorEventSpeechSynthesisEventSpeechSynthesisUtteranceSpeechSynthesisVoiceStaticRangeStereoPannerNodeStorageStorageEventStorageManagerstructuredClone()StylePropertyMapStylePropertyMapReadOnlyStyleSheetStyleSheetListSubmitEventSubtleCryptoSVGAElementSVGAltGlyphDefElementSVGAltGlyphElementSVGAltGlyphItemElementSVGAngleSVGAnimateColorElementSVGAnimatedAngleSVGAnimatedBooleanSVGAnimatedEnumerationSVGAnimatedIntegerSVGAnimatedLengthSVGAnimatedLengthListSVGAnimatedNumberSVGAnimatedNumberListSVGAnimatedPreserveAspectRatioSVGAnimatedRectSVGAnimatedStringSVGAnimatedTransformListSVGAnimateElementSVGAnimateMotionElementSVGAnimateTransformElementSVGAnimationElementSVGCircleElementSVGClipPathElementSVGComponentTransferFunctionElementSVGCursorElementSVGDefsElementSVGDescElementSVGElementSVGEllipseElementSVGEventSVGFEBlendElementSVGFEColorMatrixElementSVGFEComponentTransferElementSVGFECompositeElementSVGFEConvolveMatrixElementSVGFEDiffuseLightingElementSVGFEDisplacementMapElementSVGFEDistantLightElementSVGFEDropShadowElementSVGFEFloodElementSVGFEFuncAElementSVGFEFuncBElementSVGFEFuncGElementSVGFEFuncRElementSVGFEGaussianBlurElementSVGFEImageElementSVGFEMergeElementSVGFEMergeNodeElementSVGFEMorphologyElementSVGFEOffsetElementSVGFEPointLightElementSVGFESpecularLightingElementSVGFESpotLightElementSVGFETileElementSVGFETurbulenceElementSVGFilterElementSVGFontElementSVGFontFaceElementSVGFontFaceFormatElementSVGFontFaceNameElementSVGFontFaceSrcElementSVGFontFaceUriElementSVGForeignObjectElementSVGGElementSVGGeometryElementSVGGlyphElementSVGGlyphRefElementSVGGradientElementSVGGraphicsElementSVGHKernElementSVGImageElementSVGLengthSVGLengthListSVGLinearGradientElementSVGLineElementSVGMarkerElementSVGMaskElementSVGMatrixSVGMetadataElementSVGMissingGlyphElementSVGMPathElementSVGNumberSVGNumberListSVGPathElementSVGPatternElementSVGPointSVGPointListSVGPolygonElementSVGPolylineElementSVGPreserveAspectRatioSVGRadialGradientElementSVGRectSVGRectElementSVGRenderingIntentSVGScriptElementSVGSetElementSVGStopElementSVGStringListSVGStyleElementSVGSVGElementSVGSwitchElementSVGSymbolElementSVGTextContentElementSVGTextElementSVGTextPathElementSVGTextPositioningElementSVGTitleElementSVGTransformSVGTransformListSVGTRefElementSVGTSpanElementSVGUnitTypesSVGUseElementSVGViewElementSVGVKernElementSyncEventSyncManager
TaskAttributionTimingTextTextDecoderTextDecoderStreamTextEncoderTextEncoderStreamTextMetricsTextTrackTextTrackCueTextTrackCueListTextTrackListTimeEventTimeRangesTouchTouchEventTouchListTrackEventTransformStreamTransformStreamDefaultControllerTransitionEventTreeWalkerTrustedHTMLTrustedScriptTrustedScriptURLTrustedTypePolicyTrustedTypePolicyFactory
UIEventURLURLPatternURLSearchParamsUSBUSBAlternateInterfaceUSBConfigurationUSBConnectionEventUSBDeviceUSBEndpointUSBInterfaceUSBInTransferResultUSBIsochronousInTransferPacketUSBIsochronousInTransferResultUSBIsochronousOutTransferPacketUSBIsochronousOutTransferResultUSBOutTransferResultUserProximityEventUSVString
ValidityStateVideoColorSpaceVideoConfigurationVideoDecoderVideoEncoderVideoFrameVideoPlaybackQualityVideoTrackVideoTrackListVisualViewportVRDisplayVRDisplayCapabilitiesVRDisplayEventVREyeParametersVRFieldOfViewVRFrameDataVRLayerInitVRPoseVRStageParametersVTTCueVTTRegion
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_drawWebGL2RenderingContextWebGLActiveInfoWebGLBufferWebGLContextEventWebGLFramebufferWebGLProgramWebGLQueryWebGLRenderbufferWebGLRenderingContextWebGLSamplerWebGLShaderWebGLShaderPrecisionFormatWebGLSyncWebGLTextureWebGLTransformFeedbackWebGLUniformLocationWebGLVertexArrayObjectWebSocketWheelEventWindowWindowClientWindowControlsOverlayWindowControlsOverlayGeometryChangeEventWindowEventHandlersWorkerWorkerGlobalScopeWorkerLocationWorkerNavigatorWorkletWritableStreamWritableStreamDefaultControllerWritableStreamDefaultWriter
XMLDocumentXMLHttpRequestXMLHttpRequestEventTargetXMLSerializerXPathEvaluatorXPathExceptionXPathExpressionXPathNSResolverXPathResultXRAnchorXRAnchorSetXRBoundedReferenceSpaceXRCompositionLayerXRCPUDepthInformationXRCubeLayerXRCylinderLayerXRDepthInformationXREquirectLayerXRFrameXRHandXRHitTestResultXRHitTestSourceXRInputSourceXRInputSourceArrayXRInputSourceEventXRInputSourcesChangeEventXRJointPoseXRJointSpaceXRLayerXRLayerEventXRLightEstimateXRLightProbeXRMediaBindingXRPermissionStatusXRPoseXRProjectionLayerXRQuadLayerXRRayXRReferenceSpaceXRReferenceSpaceEventXRRenderStateXRRigidTransformXRSessionXRSessionEventXRSpaceXRSubImageXRSystemXRTransientInputHitTestResultXRTransientInputHitTestSourceXRViewXRViewerPoseXRViewportXRWebGLBindingXRWebGLDepthInformationXRWebGLLayerXRWebGLSubImageXSLTProcessor