<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2010-05-28</periodOfReport>

    <issuer>
        <issuerCik>0001094831</issuerCik>
        <issuerName>BGC Partners, Inc.</issuerName>
        <issuerTradingSymbol>BGCP</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001024896</rptOwnerCik>
            <rptOwnerName>CANTOR FITZGERALD L P</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>499 PARK AVENUE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10022</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Class A Common Stock par value $0.01 per share</value>
                <footnoteId id="F1"/>
            </securityTitle>
            <transactionDate>
                <value>2010-05-28</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3500000</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>254617</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>BGC Holdings Exchangeable Limited Partnership Interests</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2010-05-28</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3500000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F2"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Class A Common Stock par value $0.01 per share</value>
                    <footnoteId id="F2"/>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3500000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>44763321</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">On May 28, 2010, Cantor Fitzgerald, L.P. (&quot;CFLP&quot;) exercised exchange rights with respect to 3,500,000 BGC Holdings, L.P. (&quot;BGC Holdings&quot;) Exchangeable Limited Partnership Interests for 3,500,000 shares of Class A Common Stock, par value $0.01 per share (the &quot;Class A Common Stock&quot;), of BGC Partners, Inc. (&quot;BGC Partners&quot;).</footnote>
        <footnote id="F2">The exchange rights with respect to the BGC Holdings Exchangeable Limited Partnership Interests (the &quot;Interests&quot;) owned by CFLP are exercisable at any time for shares of Class B Common Stock, par value $0.01 per share (the &quot;Class B Common Stock&quot;), of BGC Partners (or, at CFLP's option or if there are no additional authorized but unissued shares of Class B Common Stock, shares of Class A Common Stock) on a one-for-one basis (subject to adjustment).  The shares of Class B Common Stock are convertible at any time on a one-for-one basis (subject to adjustment) into shares of Class A Common Stock.</footnote>
        <footnote id="F3">Does not include the 3,500,000 shares of Class A Common Stock acquired upon exercise of the exchange rights with respect to the 3,500,000 Interests reported in this Form 4 because the 3,500,000 shares of Class A Common Stock were deemed in previous reports to have been distributed in connection with CFLP's deferred stock distribution obligations provided to certain current and former partners of CFLP on April 1, 2008.</footnote>
        <footnote id="F4">Does not reflect a decrease of 3,500,000 Interests due to the exercise of the exchange rights with respect to the 3,500,000 Interests reported in this Form 4 because such 3,500,000 Interests were assumed in previous reports to have been used to satisfy certain of CFLP's deferred stock distribution obligations.  As of the date of this report, the aggregate number of remaining shares of Class A Common Stock subject to CFLP's deferred stock distribution obligations is 22,143,400.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Howard W. Lutnick, Chairman, Chief Executive Officer and President for CANTOR FITZGERALD, L.P.</signatureName>
        <signatureDate>2010-06-02</signatureDate>
    </ownerSignature>
</ownershipDocument>
